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