13 lines
211 B
TypeScript
13 lines
211 B
TypeScript
//// [tests/cases/compiler/es6ImportEqualsDeclaration.ts] ////
|
|
|
|
//// [server.ts]
|
|
|
|
var a = 10;
|
|
export = a;
|
|
|
|
//// [client.ts]
|
|
import a = require("server");
|
|
|
|
//// [server.js]
|
|
var a = 10;
|
|
//// [client.js]
|