8 lines
No EOL
288 B
Text
8 lines
No EOL
288 B
Text
==== tests/cases/compiler/constructorStaticParamNameErrors.ts (1 errors) ====
|
|
'use strict'
|
|
// static as constructor parameter name should give error if 'use strict'
|
|
class test {
|
|
constructor (static) { }
|
|
~~~~~~
|
|
!!! Identifier expected.
|
|
} |