TypeScript/tests/cases/conformance/interfaces/interfaceDeclarations/interfaceThatInheritsFromItself.ts
2014-07-12 17:30:19 -07:00

13 lines
196 B
TypeScript

interface Foo extends Foo { // error
}
interface Foo2<T> extends Foo2<T> { // error
}
interface Foo3<T> extends Foo3<string> { // error
}
interface Bar implements Bar { // error
}