1. Positive tests. 2. Negative tests. 3. Update error messages. 4. Remove errors from conformance test.
22 lines
No EOL
538 B
TypeScript
22 lines
No EOL
538 B
TypeScript
//@target: ES5
|
|
interface A {
|
|
prop: string;
|
|
raw: string;
|
|
m(): void;
|
|
}
|
|
abstract class B implements A {
|
|
abstract prop: string;
|
|
abstract raw: string;
|
|
abstract readonly ro: string;
|
|
abstract get readonlyProp(): string;
|
|
abstract set readonlyProp(val: string);
|
|
abstract m(): void;
|
|
}
|
|
class C extends B {
|
|
get prop() { return "foo"; }
|
|
set prop(v) { }
|
|
raw = "edge";
|
|
readonly ro = "readonly please";
|
|
readonlyProp: string; // don't have to give a value, in fact
|
|
m() { }
|
|
} |