TypeScript/tests/cases/compiler/constructorStaticParamNameErrors.ts
2014-07-12 17:30:19 -07:00

5 lines
134 B
TypeScript

'use strict'
// static as constructor parameter name should give error if 'use strict'
class test {
constructor (static) { }
}