mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
15 lines
302 B
TypeScript
15 lines
302 B
TypeScript
|
// @noImplicitReferences: true
|
||
|
// @traceResolution: true
|
||
|
// @currentDirectory: /src
|
||
|
// @typeRoots: types
|
||
|
|
||
|
// We can find typings in the ./types folder
|
||
|
|
||
|
// @filename: /src/types/jquery/index.d.ts
|
||
|
declare var $: { foo(): void };
|
||
|
|
||
|
|
||
|
// @filename: /src/consumer.ts
|
||
|
/// <reference types="jquery" />
|
||
|
$.foo();
|