mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
// @Filename: declarations1.d.ts
|
|
declare module "foo";
|
|
|
|
// @Filename: declarations2.d.ts
|
|
declare module "foo" {
|
|
export const bar: number;
|
|
}
|
|
|
|
// @Filename: user.ts
|
|
///<reference path="declarations1.d.ts" />
|
|
///<reference path="declarations1.d.ts" />
|
|
import foo, {bar} from "foo";
|