Skip to content

Commit 752900d

Browse files
shadowspawnabetomo
authored andcommitted
Lint fixes for latest rules
1 parent 76d3d11 commit 752900d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

typings/index.test-d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ expectType<commander.Command>(program.executableDir(__dirname));
278278
expectType<string>(program.executableDir());
279279

280280
// outputHelp
281-
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
281+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression
282282
expectType<void>(program.outputHelp());
283-
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
283+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression
284284
expectType<void>(program.outputHelp((str: string) => { return str; }));
285-
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
285+
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type, @typescript-eslint/no-confusing-void-expression
286286
expectType<void>(program.outputHelp({ error: true }));
287287

288288
// help
@@ -354,8 +354,8 @@ expectType<commander.Command>(program.configureOutput({ }));
354354
expectType<commander.OutputConfiguration>(program.configureOutput());
355355

356356
expectType<commander.Command>(program.configureOutput({
357-
writeOut: (str: string) => console.log(str),
358-
writeErr: (str: string) => console.error(str),
357+
writeOut: (str: string) => { console.log(str); },
358+
writeErr: (str: string) => { console.error(str); },
359359
getOutHelpWidth: () => 80,
360360
getErrHelpWidth: () => 80,
361361
outputError: (str: string, write: (str: string) => void) => { write(str); }

0 commit comments

Comments
 (0)