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