Files
tsgo/testdata/tests/cases/compiler/declarationEmitExpandoFunctionInNamespace.ts
2026-06-03 20:03:42 +00:00

15 lines
227 B
TypeScript

// @declaration: true
// @emitDeclarationOnly: true
namespace NS {
export function f(): void {}
f.a = "";
}
namespace Outer {
export namespace Inner {
export function g(): void {}
g.b = 0;
}
}