8 lines
150 B
TypeScript
8 lines
150 B
TypeScript
|
// @target: ES5
|
||
|
class A {
|
||
|
get testProp() { return this.testProp; }
|
||
|
}
|
||
|
|
||
|
class B {
|
||
|
set testProp(value:string) { this.testProp = value; }
|
||
|
}
|