TypeScript/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments1.js

16 lines
280 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [invokingNonGenericMethodWithTypeArguments1.ts]
class Foo {
constructor() {
this.foo<string>();
}
}
//// [invokingNonGenericMethodWithTypeArguments1.js]
var Foo = (function () {
function Foo() {
this.foo();
}
return Foo;
})();