11 lines
No EOL
365 B
Text
11 lines
No EOL
365 B
Text
==== tests/cases/compiler/multipleClassPropertyModifiers.ts (2 errors) ====
|
|
class C {
|
|
public static p1;
|
|
static public p2;
|
|
~~~~~~
|
|
!!! 'public' modifier must precede 'static' modifier.
|
|
private static p3;
|
|
static private p4;
|
|
~~~~~~~
|
|
!!! 'private' modifier must precede 'static' modifier.
|
|
} |