14 lines
190 B
TypeScript
14 lines
190 B
TypeScript
//// [tests/cases/compiler/nodeResolution7.ts] ////
|
|
|
|
//// [index.d.ts]
|
|
|
|
declare module "a" {
|
|
var x: number;
|
|
}
|
|
|
|
//// [b.ts]
|
|
import y = require("a");
|
|
|
|
|
|
//// [b.js]
|
|
"use strict";
|