17 lines
303 B
TypeScript
17 lines
303 B
TypeScript
//// [invokingNonGenericMethodWithTypeArguments2.ts]
|
|
class Foo {
|
|
private foo: any;
|
|
|
|
constructor() {
|
|
this.foo<string>();
|
|
}
|
|
}
|
|
|
|
|
|
//// [invokingNonGenericMethodWithTypeArguments2.js]
|
|
var Foo = (function () {
|
|
function Foo() {
|
|
this.foo();
|
|
}
|
|
return Foo;
|
|
})();
|