9 lines
No EOL
291 B
Text
9 lines
No EOL
291 B
Text
==== tests/cases/compiler/staticModifierAlreadySeen.ts (2 errors) ====
|
|
class C {
|
|
static static foo = 1;
|
|
~~~~~~
|
|
!!! 'static' modifier already seen.
|
|
public static static bar() { }
|
|
~~~~~~
|
|
!!! 'static' modifier already seen.
|
|
} |