mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
512 B
TypeScript
16 lines
512 B
TypeScript
//// [tests/cases/compiler/exportDefaultInterfaceAndTwoFunctions.ts] ////
|
|
|
|
//// [exportDefaultInterfaceAndTwoFunctions.ts]
|
|
export default interface A { a: string; }
|
|
export default function() { return 1; }
|
|
export default function() { return 2; }
|
|
|
|
|
|
//// [exportDefaultInterfaceAndTwoFunctions.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = default_1;
|
|
exports.default = default_2;
|
|
function default_1() { return 1; }
|
|
function default_2() { return 2; }
|