mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
406 B
TypeScript
15 lines
406 B
TypeScript
//// [tests/cases/conformance/es6/modules/defaultExportWithOverloads01.ts] ////
|
|
|
|
//// [defaultExportWithOverloads01.ts]
|
|
export default function f();
|
|
export default function f(x: string);
|
|
export default function f(...args: any[]) {
|
|
}
|
|
|
|
//// [defaultExportWithOverloads01.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = f;
|
|
function f(...args) {
|
|
}
|