TypeScript/tests/cases/fourslash/importNameCodeFixNewImportPaths2.ts
Nathan Shively-Sanders 2479c071f9 Update baselines
2017-05-01 11:42:22 -07:00

29 lines
535 B
TypeScript

/// <reference path="fourslash.ts" />
//// [|foo/*0*/();|]
// @Filename: folder_b/index.ts
//// export function foo() {};
// @Filename: tsconfig.path.json
//// {
//// "compilerOptions": {
//// "baseUrl": ".",
//// "paths": {
//// "b": [ "folder_b/index" ]
//// }
//// }
//// }
// @Filename: tsconfig.json
//// {
//// "extends": "./tsconfig.path",
//// "compilerOptions": { }
//// }
verify.importFixAtPosition([
`import { foo } from "b";
foo();`
]);