13 lines
275 B
TypeScript
13 lines
275 B
TypeScript
//// [recursiveBaseCheck5.ts]
|
|
interface I1<T> extends I2<string> { }
|
|
interface I2<T> extends I1<T> { }
|
|
class X<T, U> implements I2<T> { }
|
|
(new X).blah;
|
|
|
|
//// [recursiveBaseCheck5.js]
|
|
var X = (function () {
|
|
function X() {
|
|
}
|
|
return X;
|
|
}());
|
|
(new X).blah;
|