13 lines
No EOL
213 B
TypeScript
13 lines
No EOL
213 B
TypeScript
// @declaration: true
|
|
|
|
interface BoxOfFoo<T extends Foo<T>> {
|
|
item: T
|
|
}
|
|
|
|
interface Foo<T extends Foo<T>> {
|
|
self: T;
|
|
}
|
|
|
|
interface Bar<T extends Bar<T>> extends Foo<T> {
|
|
other: BoxOfFoo<T>;
|
|
} |