Files
tsgo/testdata/baselines/reference/submodule/compiler/getterErrorMessageNotDuplicated.js

20 lines
359 B
TypeScript

//// [tests/cases/compiler/getterErrorMessageNotDuplicated.ts] ////
//// [getterErrorMessageNotDuplicated.ts]
interface Thing {
get style(): Foo;
set style(cssText: string | Bar);
}
interface Foo {
hello: string;
world: number;
}
interface Bar extends Foo {
extra: any;
}
//// [getterErrorMessageNotDuplicated.js]
"use strict";