mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
446 B
Plaintext
16 lines
446 B
Plaintext
//// [tests/cases/conformance/references/library-reference-10.ts] ////
|
|
|
|
=== /foo/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))
|
|
|
|
=== /foo/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))
|
|
|
|
|