mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
502 B
Plaintext
16 lines
502 B
Plaintext
//// [tests/cases/conformance/references/library-reference-6.ts] ////
|
|
|
|
=== /src/foo.ts ===
|
|
/// <reference types="alpha" />
|
|
var x: string = alpha.a;
|
|
>x : Symbol(x, Decl(foo.ts, 1, 3))
|
|
>alpha.a : Symbol(a, Decl(index.d.ts, 0, 20))
|
|
>alpha : Symbol(alpha, Decl(index.d.ts, 0, 11))
|
|
>a : Symbol(a, Decl(index.d.ts, 0, 20))
|
|
|
|
=== /node_modules/@types/alpha/index.d.ts ===
|
|
declare var alpha: { a: string };
|
|
>alpha : Symbol(alpha, Decl(index.d.ts, 0, 11))
|
|
>a : Symbol(a, Decl(index.d.ts, 0, 20))
|
|
|