mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
239 B
TypeScript
18 lines
239 B
TypeScript
//// [tests/cases/compiler/classIndexer5.ts] ////
|
|
|
|
//// [classIndexer5.ts]
|
|
class Foo {
|
|
[key: string]: number;
|
|
|
|
#a: boolean;
|
|
#b = false;
|
|
}
|
|
|
|
|
|
//// [classIndexer5.js]
|
|
"use strict";
|
|
class Foo {
|
|
#a;
|
|
#b = false;
|
|
}
|