13 lines
216 B
TypeScript
13 lines
216 B
TypeScript
// @allowUnreachableCode: true
|
|
|
|
class a {
|
|
static get x(): () => string {
|
|
return null;;
|
|
}
|
|
static set x(aValue: () => string) {
|
|
}
|
|
}
|
|
|
|
class b extends a {
|
|
static x: () => string;
|
|
} |