15 lines
No EOL
652 B
Text
15 lines
No EOL
652 B
Text
tests/cases/compiler/multipleClassPropertyModifiers.ts(3,12): error TS1029: 'public' modifier must precede 'static' modifier.
|
|
tests/cases/compiler/multipleClassPropertyModifiers.ts(5,12): error TS1029: 'private' modifier must precede 'static' modifier.
|
|
|
|
|
|
==== tests/cases/compiler/multipleClassPropertyModifiers.ts (2 errors) ====
|
|
class C {
|
|
public static p1;
|
|
static public p2;
|
|
~~~~~~
|
|
!!! error TS1029: 'public' modifier must precede 'static' modifier.
|
|
private static p3;
|
|
static private p4;
|
|
~~~~~~~
|
|
!!! error TS1029: 'private' modifier must precede 'static' modifier.
|
|
} |