TypeScript/tests/baselines/reference/library-reference-12.symbols
Vladimir Matveev 12d90f3be9 added tests
2016-04-01 12:41:45 -07:00

14 lines
382 B
Plaintext

=== /a/b/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))
=== /a/node_modules/jquery/dist/jquery.d.ts ===
declare var $: { foo(): void };
>$ : Symbol($, Decl(jquery.d.ts, 0, 11))
>foo : Symbol(foo, Decl(jquery.d.ts, 0, 16))