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

24 lines
357 B
TypeScript
Raw Normal View History

abstract class A {
abstract foo();
abstract foo() : number;
abstract foo();
abstract bar();
bar();
abstract bar();
abstract baz();
baz();
abstract baz();
baz() {}
qux();
}
abstract class B {
abstract foo() : number;
abstract foo();
x : number;
abstract foo();
abstract foo();
}