11 lines
222 B
Text
11 lines
222 B
Text
|
=== tests/cases/compiler/constructorStaticParamName.ts ===
|
||
|
// static as constructor parameter name should only give error if 'use strict'
|
||
|
|
||
|
class test {
|
||
|
>test : test
|
||
|
|
||
|
constructor (static) { }
|
||
|
>static : any
|
||
|
}
|
||
|
|