2016-11-17 01:01:16 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
//// [|foo/*0*/();|]
|
|
|
|
|
|
|
|
// @Filename: folder_a/f2.ts
|
|
|
|
//// export function foo() {};
|
|
|
|
|
|
|
|
// @Filename: tsconfig.json
|
|
|
|
//// {
|
|
|
|
//// "compilerOptions": {
|
|
|
|
//// "baseUrl": ".",
|
|
|
|
//// "paths": {
|
|
|
|
//// "a": [ "folder_a/f2" ]
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import { foo } from "a";
|
|
|
|
|
|
|
|
foo();`
|
2017-05-01 20:42:22 +02:00
|
|
|
]);
|