TypeScript/tests/baselines/reference/recursiveTypeIdentity.js
2014-07-12 17:30:19 -07:00

16 lines
217 B
TypeScript

//// [recursiveTypeIdentity.ts]
interface A {
<T extends A>(x: T): void;
}
interface B {
<T extends B>(x: T): void;
}
interface C {
(x: A): void;
(x: B): void;
}
//// [recursiveTypeIdentity.js]