6 lines
No EOL
258 B
Text
6 lines
No EOL
258 B
Text
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration5.ts (1 errors) ====
|
|
class C {
|
|
private constructor() { }
|
|
~~~~~~~
|
|
!!! 'private' modifier cannot appear on a constructor declaration.
|
|
} |