TypeScript/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.js

18 lines
303 B
TypeScript
Raw Normal View History

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