Files
tsgo/testdata/baselines/reference/submodule/compiler/commonSourceDirectory.symbols
2025-02-26 14:53:49 -08:00

27 lines
626 B
Plaintext

//// [tests/cases/compiler/commonSourceDirectory.ts] ////
=== /app/index.ts ===
/// <reference path="../types/bar.d.ts" preserve="true" />
import { x } from "foo";
>x : Symbol(x, Decl(index.ts, 1, 8))
import { y } from "bar";
>y : Symbol(y, Decl(index.ts, 2, 8))
x + y;
>x : Symbol(x, Decl(index.ts, 1, 8))
>y : Symbol(y, Decl(index.ts, 2, 8))
=== /node_modules/foo/index.ts ===
export const x = 0;
>x : Symbol(x, Decl(index.ts, 0, 12))
=== /types/bar.d.ts ===
declare module "bar" {
>"bar" : Symbol("bar", Decl(bar.d.ts, 0, 0))
export const y = 0;
>y : Symbol(y, Decl(bar.d.ts, 1, 16))
}