// @target: es2015
// @noImplicitReferences: true
// @traceResolution: true
// @types: jquery
// @typeRoots: /a/types
// @currentDirectory: /a

// @filename: /a/types/jquery/index.d.ts
declare var $: { foo(): void };


// @filename: /a/b/consumer.ts
$.foo();
