mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
330 B
TypeScript
21 lines
330 B
TypeScript
//// [tests/cases/conformance/references/library-reference-11.ts] ////
|
|
|
|
//// [package.json]
|
|
{
|
|
"typings": "jquery.d.ts"
|
|
}
|
|
|
|
//// [jquery.d.ts]
|
|
declare var $: { foo(): void };
|
|
|
|
|
|
//// [consumer.ts]
|
|
/// <reference types="jquery" />
|
|
$.foo();
|
|
|
|
|
|
//// [consumer.js]
|
|
"use strict";
|
|
/// <reference types="jquery" />
|
|
$.foo();
|