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

8 lines
150 B
TypeScript

class Base {
private static foo: string;
}
class Derived extends Base {
static bar = Base.foo; // error
bing = () => Base.foo; // error
}