2016-02-23 21:48:31 +01:00
|
|
|
// @noImplicitReferences: true
|
2016-04-01 21:41:45 +02:00
|
|
|
// @traceResolution: true
|
2016-02-23 21:48:31 +01:00
|
|
|
|
|
|
|
// The primary lookup folder is relative to tsconfig.json, if present
|
|
|
|
|
2016-04-01 21:41:45 +02:00
|
|
|
// @filename: /types/alpha/index.d.ts
|
2016-02-23 21:48:31 +01:00
|
|
|
declare var alpha: { a: string };
|
|
|
|
|
2016-04-01 21:41:45 +02:00
|
|
|
// @filename: /src/foo.ts
|
|
|
|
/// <reference types="alpha" />
|
2016-02-23 21:48:31 +01:00
|
|
|
var x: string = alpha.a;
|
|
|
|
|
2016-04-01 21:41:45 +02:00
|
|
|
// @filename: /tsconfig.json
|
2016-02-23 21:48:31 +01:00
|
|
|
{
|
|
|
|
}
|