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