swc/crates/swc_ecma_parser/tests/tsc/classExtendsItself.ts

5 lines
111 B
TypeScript

class C extends C { } // error
class D<T> extends D<T> { } // error
class E<T> extends E<string> { } // error