2016-01-25 20:49:26 +01:00
|
|
|
// @moduleResolution: classic
|
|
|
|
// @module: amd
|
|
|
|
// @baseUrl: c:/root
|
2016-04-01 21:41:45 +02:00
|
|
|
// @traceResolution: true
|
2016-01-25 20:49:26 +01:00
|
|
|
|
|
|
|
// baseUrl set via command line
|
|
|
|
|
|
|
|
// @filename: c:/root/folder1/file1.ts
|
|
|
|
import {x} from "folder2/file2"
|
|
|
|
declare function use(a: any): void;
|
|
|
|
use(x.toExponential());
|
|
|
|
|
|
|
|
// @filename: c:/root/folder2/file2.ts
|
|
|
|
import {x as a} from "./file3" // found with baseurl
|
|
|
|
import {y as b} from "file4" // found with fallback
|
|
|
|
export var x = a + b;
|
|
|
|
|
|
|
|
// @filename: c:/root/folder2/file3.ts
|
|
|
|
export var x = 1;
|
|
|
|
|
|
|
|
// @filename: c:/file4.ts
|
|
|
|
export var y = 100;
|