2016-10-13 22:02:22 +02:00
|
|
|
// @allowJs: true
|
2016-04-01 21:41:45 +02:00
|
|
|
// @noImplicitReferences: true
|
|
|
|
// @traceResolution: true
|
2016-05-18 23:37:40 +02:00
|
|
|
// @currentDirectory: /
|
2016-04-01 21:41:45 +02:00
|
|
|
|
|
|
|
// package.json in a secondary reference can refer to another file
|
|
|
|
|
|
|
|
// @filename: /a/node_modules/jquery/package.json
|
|
|
|
{
|
|
|
|
"typings": "jquery.d.ts"
|
|
|
|
}
|
|
|
|
|
|
|
|
// @filename: /a/node_modules/jquery/jquery.d.ts
|
|
|
|
declare var $: { foo(): void };
|
|
|
|
|
|
|
|
|
|
|
|
// @filename: /a/b/consumer.ts
|
|
|
|
/// <reference types="jquery" />
|
|
|
|
$.foo();
|