15 lines
413 B
Text
15 lines
413 B
Text
=== /src/consumer.ts ===
|
|
/// <reference types="jquery" />
|
|
$.foo();
|
|
>$.foo : Symbol(foo, Decl(index.d.ts, 3, 16))
|
|
>$ : Symbol($, Decl(index.d.ts, 3, 11))
|
|
>foo : Symbol(foo, Decl(index.d.ts, 3, 16))
|
|
|
|
=== /src/node_modules/jquery/index.d.ts ===
|
|
|
|
// Secondary references are possible
|
|
|
|
declare var $: { foo(): void };
|
|
>$ : Symbol($, Decl(index.d.ts, 3, 11))
|
|
>foo : Symbol(foo, Decl(index.d.ts, 3, 16))
|
|
|