19 lines
270 B
TypeScript
19 lines
270 B
TypeScript
//// [tests/cases/compiler/nodeResolution4.ts] ////
|
|
|
|
//// [ref.ts]
|
|
|
|
var x = 1;
|
|
|
|
//// [a.ts]
|
|
/// <reference path="ref.ts"/>
|
|
export var y;
|
|
|
|
//// [b.ts]
|
|
import y = require("./a");
|
|
|
|
//// [ref.js]
|
|
var x = 1;
|
|
//// [a.js]
|
|
"use strict";
|
|
//// [b.js]
|
|
"use strict";
|