mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
//// [tests/cases/compiler/commonSourceDirectory_dts.ts] ////
|
|
|
|
=== /app/lib/bar.d.ts ===
|
|
declare const y: number;
|
|
>y : Symbol(y, Decl(bar.d.ts, 0, 13))
|
|
|
|
=== /app/src/index.ts ===
|
|
/// <reference path="../lib/bar.d.ts" preserve="true" />
|
|
export const x = y;
|
|
>x : Symbol(x, Decl(index.ts, 1, 12))
|
|
>y : Symbol(y, Decl(bar.d.ts, 0, 13))
|
|
|