TypeScript/tests/baselines/reference/override16(target=esnext).types

18 lines
227 B
Plaintext

=== tests/cases/conformance/override/override16.ts ===
class A {
>A : A
foo?: string;
>foo : string
}
class B extends A {
>B : B
>A : A
override foo = "string";
>foo : string
>"string" : "string"
}