mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
321 B
TypeScript
16 lines
321 B
TypeScript
//// [tests/cases/compiler/ambientClassMergesOverloadsWithInterface.ts] ////
|
|
|
|
//// [ambientClassMergesOverloadsWithInterface.ts]
|
|
declare class C {
|
|
baz(): any;
|
|
foo(n: number): any;
|
|
}
|
|
interface C {
|
|
foo(n: number): any;
|
|
bar(): any;
|
|
}
|
|
|
|
|
|
//// [ambientClassMergesOverloadsWithInterface.js]
|
|
"use strict";
|