19 lines
334 B
TypeScript
19 lines
334 B
TypeScript
//// [tests/cases/compiler/es6ImportWithoutFromClauseWithExport.ts] ////
|
|
|
|
//// [server.ts]
|
|
|
|
export var a = 10;
|
|
|
|
//// [client.ts]
|
|
export import "server";
|
|
|
|
//// [server.js]
|
|
exports.a = 10;
|
|
//// [client.js]
|
|
require("server");
|
|
|
|
|
|
//// [server.d.ts]
|
|
export declare var a: number;
|
|
//// [client.d.ts]
|
|
export import "server";
|