mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
389 B
Plaintext
13 lines
389 B
Plaintext
classIndexer5.ts(4,5): error TS2564: Property '#a' has no initializer and is not definitely assigned in the constructor.
|
|
|
|
|
|
==== classIndexer5.ts (1 errors) ====
|
|
class Foo {
|
|
[key: string]: number;
|
|
|
|
#a: boolean;
|
|
~~
|
|
!!! error TS2564: Property '#a' has no initializer and is not definitely assigned in the constructor.
|
|
#b = false;
|
|
}
|
|
|