swc/crates/swc_ecma_parser/tests/tsc/typingsLookupAmd.ts

15 lines
328 B
TypeScript

// @traceResolution: true
// @noImplicitReferences: true
// @currentDirectory: /
// @module: amd
// @filename: /node_modules/@types/a/index.d.ts
export declare class A {}
// @filename: /x/node_modules/@types/b/index.d.ts
import {A} from "a";
export declare class B extends A {}
// @filename: /x/y/foo.ts
import {B} from "b";