7e4400b9c3
* Stop checking getter/setter compatability twice * Ensure modifier errors are still emitted on both accessors, accept modified baselines
23 lines
367 B
Plaintext
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
|
|
}
|