20 lines
310 B
TypeScript
20 lines
310 B
TypeScript
//// [tests/cases/compiler/cachedModuleResolution4.ts] ////
|
|
|
|
//// [foo.d.ts]
|
|
|
|
export declare let x: number
|
|
|
|
//// [lib.ts]
|
|
import {x} from "foo";
|
|
|
|
//// [app.ts]
|
|
import {x} from "foo";
|
|
|
|
|
|
//// [lib.js]
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
//// [app.js]
|
|
"use strict";
|
|
exports.__esModule = true;
|