1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
//// [tests/cases/conformance/references/library-reference-5.ts] ////
=== /src/root.ts ===
/// <reference types="foo" />
/// <reference types="bar" />
=== /node_modules/foo/index.d.ts ===
// Secondary references may not be duplicated if they disagree 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
|