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

12 lines
189 B
TypeScript

// @target: esnext
// @useDefineForClassFields: true
interface I {
p: number
}
interface B extends I { }
class B { }
class C extends B {
get p() { return 1 }
set p(value) { }
}