mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +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();
|