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