17 lines
No EOL
465 B
Text
17 lines
No EOL
465 B
Text
tests/cases/compiler/staticClassProps.ts(4,9): error TS1129: Statement expected.
|
|
tests/cases/compiler/staticClassProps.ts(6,1): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
==== tests/cases/compiler/staticClassProps.ts (2 errors) ====
|
|
class C
|
|
{
|
|
public foo() {
|
|
static z = 1;
|
|
~~~~~~
|
|
!!! error TS1129: Statement expected.
|
|
}
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected.
|
|
|
|
|