13 lines
No EOL
210 B
TypeScript
13 lines
No EOL
210 B
TypeScript
class a {
|
|
private __x: () => string;
|
|
get x() {
|
|
return this.__x;
|
|
}
|
|
set x(aValue: () => string) {
|
|
this.__x = aValue;
|
|
}
|
|
}
|
|
|
|
class b extends a {
|
|
x: () => string;
|
|
} |