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