7 lines
87 B
TypeScript
7 lines
87 B
TypeScript
|
class f {
|
||
|
set x(value) {
|
||
|
return null; // Should be an error
|
||
|
}
|
||
|
}
|
||
|
|