14 lines
262 B
Text
14 lines
262 B
Text
=== /consumer.ts ===
|
|
/// <reference types="jquery" />
|
|
$.foo();
|
|
>$.foo() : void
|
|
>$.foo : () => void
|
|
>$ : { foo(): void; }
|
|
>foo : () => void
|
|
|
|
=== /types/jquery/jquery.d.ts ===
|
|
declare var $: { foo(): void };
|
|
>$ : { foo(): void; }
|
|
>foo : () => void
|
|
|
|
|