17 lines
No EOL
495 B
Text
17 lines
No EOL
495 B
Text
tests/cases/compiler/staticClassProps.ts(4,9): error TS1128: Declaration or 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 TS1128: Declaration or statement expected.
|
|
}
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected.
|
|
|
|
|