mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
270 B
TypeScript
15 lines
270 B
TypeScript
//// [tests/cases/compiler/addMoreOverloadsToBaseSignature.ts] ////
|
|
|
|
//// [addMoreOverloadsToBaseSignature.ts]
|
|
interface Foo {
|
|
f(): string;
|
|
}
|
|
|
|
interface Bar extends Foo {
|
|
f(key: string): string;
|
|
}
|
|
|
|
|
|
//// [addMoreOverloadsToBaseSignature.js]
|
|
"use strict";
|