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