mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
//// [tests/cases/compiler/declarationEmitDefaultExport5.ts] ////
|
|
|
|
//// [declarationEmitDefaultExport5.ts]
|
|
export default 1 + 2;
|
|
|
|
|
|
//// [declarationEmitDefaultExport5.js]
|
|
export default 1 + 2;
|
|
|
|
|
|
//// [declarationEmitDefaultExport5.d.ts]
|
|
declare const _default: number;
|
|
export default _default;
|