2018-07-24 02:11:30 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////export const foo = 0;
|
|
|
|
|
2018-08-30 01:18:56 +02:00
|
|
|
// @Filename: /x/y.ts
|
2018-07-24 02:11:30 +02:00
|
|
|
////foo;
|
|
|
|
|
|
|
|
// @Filename: /tsconfig.json
|
|
|
|
////{
|
|
|
|
//// "compilerOptions": {
|
|
|
|
//// "baseUrl": ".",
|
|
|
|
//// "paths": {
|
|
|
|
//// "@root/*": ["*"],
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
2018-08-30 01:18:56 +02:00
|
|
|
goTo.file("/x/y.ts");
|
2018-07-24 02:11:30 +02:00
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import { foo } from "@root/a";
|
|
|
|
|
|
|
|
foo;`,
|
|
|
|
]);
|