diff --git a/jslib/node/src/cli/commands/update.command.ts b/jslib/node/src/cli/commands/update.command.ts index e09bdc2d..87d1b7aa 100644 --- a/jslib/node/src/cli/commands/update.command.ts +++ b/jslib/node/src/cli/commands/update.command.ts @@ -26,6 +26,10 @@ export class UpdateCommand { "https://api.github.com/repos/bitwarden/" + this.repoName + "/releases/latest", ); if (response.status === 200) { + // FIXME As of node-fetch v.3 this response has "unknown" type. + // Github provides type definitions for thier public api, + // but as of now we do not have them as a dependnecy. We + // should in the future consider adding this. const responseJson = (await response.json()) as any; const res = new MessageResponse(null, null);