Skip to content

Commit 4b64c2d

Browse files
author
Rishi Raj Jain
committed
remove Index type
1 parent 0c01e58 commit 4b64c2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli/src/commands/update.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import path from "path";
22
import inquirer from "inquirer";
33
import { run, RunOptions } from "npm-check-updates";
44
import { installDependencies } from "../utils/installDependencies.js";
5-
import { Index } from "npm-check-updates/build/src/types/IndexType.js";
65
import { readJSONFileSync, writeJSONFile } from "../utils/fileSystem.js";
76

87
export async function updateCommand(projectPath: string) {
@@ -35,7 +34,7 @@ export async function updateCommand(projectPath: string) {
3534
};
3635

3736
// Can either give a json like package.json or just with deps and their new versions
38-
const updatedDependencies: Index | void = await run(ncuOptions);
37+
const updatedDependencies: { [k: string]: any } | void = await run(ncuOptions);
3938

4039
if (!updatedDependencies) return;
4140

0 commit comments

Comments
 (0)