TypeScript/tests/baselines/reference/constructorStaticParamName.js

15 lines
292 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [constructorStaticParamName.ts]
// static as constructor parameter name should only give error if 'use strict'
class test {
constructor (static) { }
}
//// [constructorStaticParamName.js]
var test = (function () {
function test(static) {
}
return test;
})();