mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
11 lines
241 B
TypeScript
11 lines
241 B
TypeScript
class C extends E { foo: string; } // error
|
|
|
|
class D extends C { bar: string; }
|
|
|
|
class E extends D { baz: number; }
|
|
|
|
class C2<T> extends E2<T> { foo: T; } // error
|
|
|
|
class D2<T> extends C2<T> { bar: T; }
|
|
|
|
class E2<T> extends D2<T> { baz: T; } |