TypeScript/tests/cases/compiler/constructorStaticParamNameErrors.ts

5 lines
134 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
'use strict'
// static as constructor parameter name should give error if 'use strict'
class test {
constructor (static) { }
}