Skip to content

Commit

Permalink
Run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Jun 9, 2024
1 parent 6e96bf8 commit 45df254
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions typings/index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,9 @@ expectType<commander.Command>(
// action
expectType<commander.Command>(program.action(() => {}));
expectType<commander.Command>(program.action(async () => {}));
program
.action(function () {
expectType<typeof program>(this)
})
program.action(function () {
expectType<typeof program>(this);
});

// option
expectType<commander.Command>(program.option('-a,--alpha'));
Expand Down

0 comments on commit 45df254

Please sign in to comment.