mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
25 lines
634 B
TypeScript
25 lines
634 B
TypeScript
// @noImplicitReferences: true
|
|
// @traceResolution: true
|
|
// @currentDirectory: /
|
|
// @typeRoots: types
|
|
|
|
// Secondary references may not be duplicated if they disagree in content
|
|
|
|
// @filename: /node_modules/foo/index.d.ts
|
|
/// <reference types="alpha" />
|
|
declare var foo: any;
|
|
|
|
// @filename: /node_modules/foo/node_modules/alpha/index.d.ts
|
|
declare var alpha: any;
|
|
|
|
// @filename: /node_modules/bar/index.d.ts
|
|
/// <reference types="alpha" />
|
|
declare var bar: any;
|
|
|
|
// @filename: /node_modules/bar/node_modules/alpha/index.d.ts
|
|
declare var alpha: {};
|
|
|
|
// @filename: /src/root.ts
|
|
/// <reference types="foo" />
|
|
/// <reference types="bar" />
|