Skip to content

Commit d244dd1

Browse files
author
Josh Goldberg
authored
Fix tsc complaint in runCli.ts (#1129)
* Fix tsc complaint in runCli.ts * Eslint disable...
1 parent eacd4a5 commit d244dd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cli/runCli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export const runCli = async (
4242

4343
const parsedArgv = {
4444
config: "./.eslintrc.js",
45-
...command.parse(rawArgv).opts(),
45+
// eslint-disable-next-line -- this gets deduced as the same type, for some erroneous reason
46+
...(command.parse(rawArgv).opts() as Partial<TSLintToESLintSettings>),
4647
} as TSLintToESLintSettings;
4748

4849
// 2. If the version should be printed, we do that and stop execution.

0 commit comments

Comments
 (0)