TypeScript/tests/baselines/reference/constructorStaticParamName.js
2015-04-08 22:06:55 -07:00

16 lines
372 B
TypeScript

//// [constructorStaticParamName.ts]
// static as constructor parameter name should only give error if 'use strict'
class test {
constructor (static) { }
}
//// [constructorStaticParamName.js]
// static as constructor parameter name should only give error if 'use strict'
var test = (function () {
function test(static) {
}
return test;
})();