mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
484 B
TypeScript
25 lines
484 B
TypeScript
//// [tests/cases/compiler/exportDefaultInterface.ts] ////
|
|
|
|
//// [a.ts]
|
|
export default interface A { value: number; }
|
|
|
|
var a: A;
|
|
a.value.toExponential();
|
|
|
|
//// [b.ts]
|
|
import A from './a';
|
|
|
|
var a: A;
|
|
a.value.toExponential();
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var a;
|
|
a.value.toExponential();
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var a;
|
|
a.value.toExponential();
|