mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
23 lines
271 B
TypeScript
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() {}
|
|
} |