2018-01-09 19:34:35 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////[|foo|]
|
|
|
|
|
|
|
|
// @Filename: /thisHasPathMapping.ts
|
|
|
|
////export function foo() {};
|
|
|
|
|
|
|
|
// @Filename: /tsconfig.json
|
|
|
|
////{
|
|
|
|
//// "compilerOptions": {
|
|
|
|
//// "baseUrl": ".",
|
|
|
|
//// "paths": {
|
|
|
|
//// "foo": ["././thisHasPathMapping"]
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
|
|
|
verify.importFixAtPosition([
|
|
|
|
`import { foo } from "foo";
|
|
|
|
|
2018-08-30 01:18:56 +02:00
|
|
|
foo`
|
2018-01-09 19:34:35 +01:00
|
|
|
]);
|