mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
12 lines
189 B
TypeScript
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) { }
|
|
}
|