12 lines
198 B
JavaScript
12 lines
198 B
JavaScript
|
//// [recursiveInheritance.ts]
|
||
|
|
||
|
interface I5 extends I5 { // error
|
||
|
foo():void;
|
||
|
}
|
||
|
|
||
|
interface i8 extends i9 { } // error
|
||
|
interface i9 extends i8 { } // error
|
||
|
|
||
|
|
||
|
//// [recursiveInheritance.js]
|