mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
25 lines
630 B
TypeScript
25 lines
630 B
TypeScript
// @noImplicitReferences: true
|
|
// @traceResolution: true
|
|
// @typeRoots: /src
|
|
// @currentDirectory: test
|
|
|
|
// Secondary references may be duplicated if they agree 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: any;
|
|
|
|
// @filename: /src/root.ts
|
|
/// <reference types="foo" />
|
|
/// <reference types="bar" />
|