mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
331 B
TypeScript
16 lines
331 B
TypeScript
//// [tests/cases/compiler/declarationEmitDefaultExport4.ts] ////
|
|
|
|
//// [declarationEmitDefaultExport4.ts]
|
|
export default function () {
|
|
return 1;
|
|
}
|
|
|
|
//// [declarationEmitDefaultExport4.js]
|
|
export default function () {
|
|
return 1;
|
|
}
|
|
|
|
|
|
//// [declarationEmitDefaultExport4.d.ts]
|
|
export default function (): number;
|