10000 Added tests. · sweshgit/TypeScript@0abb4c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0abb4c9

Browse files
Added tests.
1 parent 5e53ba0 commit 0abb4c9

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// @declaration: true
2+
3+
interface BoxOfFoo<T extends Foo> {
4+
item: T
5+
}
6+
7+
interface Foo {
8+
self: this;
9+
}
10+
11+
interface Bar extends Foo {
12+
other: BoxOfFoo<this>;
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// @declaration: true
2+
3+
interface BoxOfFoo<T extends Foo<T>> {
4+
item: T
5+
}
6+
7+
interface Foo<T extends Foo<T>> {
8+
self: T;
9+
}
10+
11+
interface Bar<T extends Bar<T>> extends Foo<T> {
12+
other: BoxOfFoo<T>;
13+
}

0 commit comments

Comments
 (0)
0