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

23 lines
400 B
TypeScript

/// <reference path="fourslash.ts" />
// @Filename: a/f1.ts
//// [|foo/*0*/();|]
// @Filename: types/random/index.ts
//// export function foo() {};
// @Filename: tsconfig.json
//// {
//// "compilerOptions": {
//// "typeRoots": [
//// "./types"
//// ]
//// }
//// }
verify.importFixAtPosition([
`import { foo } from "random";
foo();`
]);