TypeScript/tests/baselines/reference/library-reference-4.symbols
Vladimir Matveev 12d90f3be9 added tests
2016-04-01 12:41:45 -07:00

21 lines
675 B
Text

=== /src/root.ts ===
/// <reference types="foo" />
No type information for this code./// <reference types="bar" />
No type information for this code.
No type information for this code.=== /node_modules/foo/index.d.ts ===
// Secondary references may be duplicated if they agree in content
/// <reference types="alpha" />
declare var foo: any;
>foo : Symbol(foo, Decl(index.d.ts, 4, 11))
=== /node_modules/foo/node_modules/alpha/index.d.ts ===
declare var alpha: any;
>alpha : Symbol(alpha, Decl(index.d.ts, 0, 11))
=== /node_modules/bar/index.d.ts ===
/// <reference types="alpha" />
declare var bar: any;
>bar : Symbol(bar, Decl(index.d.ts, 1, 11))