mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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
|
|
}
|