mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
359 B
TypeScript
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";
|