TypeScript/tests/cases/compiler/getterErrorMessageNotDuplicated.ts
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

13 lines
195 B
TypeScript

interface Thing {
get style(): Foo;
set style(cssText: string | Bar);
}
interface Foo {
hello: string;
world: number;
}
interface Bar extends Foo {
extra: any;
}