mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
9 lines
156 B
TypeScript
9 lines
156 B
TypeScript
// @target: es5
|
|
// @useDefineForClassFields: true
|
|
abstract class A {
|
|
abstract p = 'yep'
|
|
}
|
|
class B extends A {
|
|
get p() { return 'oh no' } // error
|
|
}
|