13 lines
192 B
TypeScript
13 lines
192 B
TypeScript
//// [tests/cases/conformance/references/library-reference-15.ts] ////
|
|
|
|
//// [index.d.ts]
|
|
|
|
declare var $: { foo(): void };
|
|
|
|
|
|
//// [consumer.ts]
|
|
$.foo();
|
|
|
|
|
|
//// [consumer.js]
|
|
$.foo();
|