mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +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);
|