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

23 lines
271 B
TypeScript

class A {
foo() {}
}
abstract class B extends A {
abstract foo();
}
abstract class AA {
foo() {}
abstract bar();
}
abstract class BB extends AA {
abstract foo();
bar () {}
}
class CC extends BB {} // error
class DD extends BB {
foo() {}
}