From 4f4e3242f566f42fda5ffcb8bc22e09fc4303a98 Mon Sep 17 00:00:00 2001 From: Cayman Date: Thu, 16 Feb 2023 12:05:47 -0500 Subject: [PATCH] Remove onFinishCommand --- types/yargs/index.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/types/yargs/index.d.ts b/types/yargs/index.d.ts index 4be57f7d35b8b4..96a7483a2156f5 100644 --- a/types/yargs/index.d.ts +++ b/types/yargs/index.d.ts @@ -432,12 +432,6 @@ declare namespace yargs { number(key: K | ReadonlyArray): Argv & { [key in K]: ToNumber }>; number(key: K | ReadonlyArray): Argv; - /** - * Method to execute when a command finishes successfully. - * @param func Is called with the successful result of the command that finished. - */ - onFinishCommand(func: (result: any) => void): Argv; - /** * This method can be used to make yargs aware of options that could exist. * You can also pass an opt object which can hold further customization, like `.alias()`, `.demandOption()` etc. for that option.