13 lines
No EOL
254 B
Text
13 lines
No EOL
254 B
Text
==== tests/cases/compiler/staticClassProps.ts (2 errors) ====
|
|
class C
|
|
{
|
|
public foo() {
|
|
static z = 1;
|
|
~~~~~~
|
|
!!! Statement expected.
|
|
}
|
|
}
|
|
~
|
|
!!! Declaration or statement expected.
|
|
|
|
|