17 lines
352 B
TypeScript
17 lines
352 B
TypeScript
//// [thisExpressionOfGenericObject.ts]
|
|
class MyClass1<T> {
|
|
private obj: MyClass1<string>;
|
|
constructor() {
|
|
() => this;
|
|
}
|
|
}
|
|
|
|
|
|
//// [thisExpressionOfGenericObject.js]
|
|
var MyClass1 = (function () {
|
|
function MyClass1() {
|
|
var _this = this;
|
|
(function () { return _this; });
|
|
}
|
|
return MyClass1;
|
|
})();
|