mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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";
|