=== /src/consumer.ts ===
/// <reference types="jquery" />
$.foo();
>$.foo() : void
>$.foo : () => void
>$ : { foo(): void; }
>foo : () => void
=== /src/types/jquery/index.d.ts ===
// We can find typings in the ./types folder
declare var $: { foo(): void };