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

22 lines
574 B
Plaintext

=== /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 : any
=== /node_modules/foo/node_modules/alpha/index.d.ts ===
declare var alpha: any;
>alpha : any
=== /node_modules/bar/index.d.ts ===
/// <reference types="alpha" />
declare var bar: any;
>bar : any