TypeScript/tests/baselines/reference/getterErrorMessageNotDuplicated.types
Wesley Wigham 7e4400b9c3
Stop checking getter/setter compatability twice (#43741)
* Stop checking getter/setter compatability twice

* Ensure modifier errors are still emitted on both accessors, accept modified baselines
2021-04-19 15:53:48 -07:00

23 lines
367 B
Plaintext

=== tests/cases/compiler/getterErrorMessageNotDuplicated.ts ===
interface Thing {
get style(): Foo;
>style : Foo
set style(cssText: string | Bar);
>style : Foo
>cssText : string | Bar
}
interface Foo {
hello: string;
>hello : string
world: number;
>world : number
}
interface Bar extends Foo {
extra: any;
>extra : any
}