mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
240 B
TypeScript
14 lines
240 B
TypeScript
//// [tests/cases/compiler/duplicateIdentifierComputedName.ts] ////
|
|
|
|
//// [duplicateIdentifierComputedName.ts]
|
|
class C {
|
|
["a"]: string;
|
|
["a"]: string;
|
|
}
|
|
|
|
|
|
//// [duplicateIdentifierComputedName.js]
|
|
"use strict";
|
|
class C {
|
|
}
|