mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
499 B
TypeScript
19 lines
499 B
TypeScript
//// [tests/cases/compiler/commonSourceDirectory_dts.ts] ////
|
|
|
|
//// [bar.d.ts]
|
|
declare const y: number;
|
|
|
|
//// [index.ts]
|
|
/// <reference path="../lib/bar.d.ts" preserve="true" />
|
|
export const x = y;
|
|
|
|
|
|
//// [/app/bin/src/index.js]
|
|
/// <reference path="../lib/bar.d.ts" preserve="true" />
|
|
export const x = y;
|
|
//# sourceMappingURL=../../myMapRoot/src/index.js.map
|
|
|
|
//// [/app/bin/src/index.d.ts]
|
|
/// <reference path="../../lib/bar.d.ts" preserve="true" />
|
|
export declare const x: number;
|