mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
316 B
TypeScript
19 lines
316 B
TypeScript
//// [tests/cases/compiler/jsDeclarationExportDefaultAssignmentCrash.ts] ////
|
|
|
|
//// [index.js]
|
|
exports.default = () => {
|
|
return 1234;
|
|
}
|
|
|
|
|
|
//// [index.js]
|
|
"use strict";
|
|
exports.default = () => {
|
|
return 1234;
|
|
};
|
|
|
|
|
|
//// [index.d.ts]
|
|
declare const _default: () => number;
|
|
export default _default;
|