mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
438 B
Plaintext
14 lines
438 B
Plaintext
classStaticBlockUseBeforeDef5.ts(3,14): error TS2729: Property 'x' is used before its initialization.
|
|
|
|
|
|
==== classStaticBlockUseBeforeDef5.ts (1 errors) ====
|
|
class C {
|
|
static {
|
|
this.x = 1;
|
|
~
|
|
!!! error TS2729: Property 'x' is used before its initialization.
|
|
!!! related TS2728 classStaticBlockUseBeforeDef5.ts:5:21: 'x' is declared here.
|
|
}
|
|
static accessor x;
|
|
}
|
|
|