mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
//// [tests/cases/conformance/references/library-reference-2.ts] ////
|
|
|
|
=== /consumer.ts ===
|
|
/// <reference types="jquery" />
|
|
$.foo();
|
|
>$.foo : Symbol(foo, Decl(jquery.d.ts, 0, 16))
|
|
>$ : Symbol($, Decl(jquery.d.ts, 0, 11))
|
|
>foo : Symbol(foo, Decl(jquery.d.ts, 0, 16))
|
|
|
|
=== /types/jquery/jquery.d.ts ===
|
|
declare var $: { foo(): void };
|
|
>$ : Symbol($, Decl(jquery.d.ts, 0, 11))
|
|
>foo : Symbol(foo, Decl(jquery.d.ts, 0, 16))
|
|
|
|
|