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
|
||
|
}
|