TypeScript/tests/baselines/reference/typeReferenceDirectives10.symbols
2016-04-11 21:36:07 -07:00

25 lines
535 B
Plaintext

=== /app.ts ===
/// <reference types="lib"/>
import {$} from "./ref";
>$ : Symbol($, Decl(app.ts, 1, 8))
export interface A {
>A : Symbol(A, Decl(app.ts, 1, 24))
x: $
>x : Symbol(A.x, Decl(app.ts, 2, 20))
>$ : Symbol($, Decl(app.ts, 1, 8))
}
=== /ref.d.ts ===
export interface $ { x }
>$ : Symbol($, Decl(ref.d.ts, 0, 0))
>x : Symbol($.x, Decl(ref.d.ts, 1, 20))
=== /types/lib/index.d.ts ===
declare let $: { x: number }
>$ : Symbol($, Decl(index.d.ts, 0, 11))
>x : Symbol(x, Decl(index.d.ts, 0, 16))