mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
434 B
TypeScript
27 lines
434 B
TypeScript
//// [tests/cases/compiler/declarationEmitOfFuncspace.ts] ////
|
|
|
|
//// [expando.ts]
|
|
// #27032
|
|
function ExpandoMerge(n: number) {
|
|
return n;
|
|
}
|
|
namespace ExpandoMerge {
|
|
export interface I { }
|
|
}
|
|
|
|
|
|
//// [expando.js]
|
|
"use strict";
|
|
// #27032
|
|
function ExpandoMerge(n) {
|
|
return n;
|
|
}
|
|
|
|
|
|
//// [expando.d.ts]
|
|
declare function ExpandoMerge(n: number): number;
|
|
declare namespace ExpandoMerge {
|
|
interface I {
|
|
}
|
|
}
|