mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
312 B
TypeScript
17 lines
312 B
TypeScript
//// [tests/cases/compiler/classMemberWithMissingIdentifier2.ts] ////
|
|
|
|
//// [classMemberWithMissingIdentifier2.ts]
|
|
class C {
|
|
public {[name:string]:VariableDeclaration};
|
|
}
|
|
|
|
//// [classMemberWithMissingIdentifier2.js]
|
|
"use strict";
|
|
class C {
|
|
}
|
|
{
|
|
[name, string];
|
|
VariableDeclaration;
|
|
}
|
|
;
|