Added tests.

This commit is contained in:
Daniel Rosenwasser committed 2016-02-28 19:57:12 -08:00
1 parent 5e53ba06cf
commit 0abb4c907e
2 files changed
+26

No files matched your search

@@ -0,0 +1,13 @@
// @declaration: true
interface BoxOfFoo<T extends Foo> {
item: T
}
interface Foo {
self: this;
}
interface Bar extends Foo {
other: BoxOfFoo<this>;
}
@@ -0,0 +1,13 @@
// @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>;
}