Skip to content

Commit

Permalink
fix: Typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed May 8, 2024
1 parent d7fd310 commit 9a0804d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function executeMacosCommand (command, opts = {}) {
throw new errors.UnknownCommandError(`Unknown extension command "${command}". ` +
`Only ${_.keys(EXTENSION_COMMANDS_MAPPING)} commands are supported.`);
}
return await this[EXTENSION_COMMANDS_MAPPING[command]](opts);
return await this[/** @type {string} */ (EXTENSION_COMMANDS_MAPPING[command])](opts);
};

/**
Expand Down

0 comments on commit 9a0804d

Please sign in to comment.