mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
12 lines
280 B
TypeScript
12 lines
280 B
TypeScript
|
// @Filename: declarations.d.ts
|
||
|
declare module "jquery"
|
||
|
// Semicolon is optional
|
||
|
declare module "fs";
|
||
|
|
||
|
// @Filename: user.ts
|
||
|
///<reference path="declarations.d.ts"/>
|
||
|
import foo, {bar} from "jquery";
|
||
|
import * as baz from "fs";
|
||
|
import boom = require("jquery");
|
||
|
foo(bar, baz, boom);
|