Skip to content

Commit

Permalink
fix: update hook type
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed May 24, 2024
1 parent 25b4017 commit 29664ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/pjson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export type OclifConfiguration = {
/**
* Register hooks to run at various points in the CLI lifecycle.
*/
hooks?: {[name: string]: string | string[] | HookOptions | HookOptions[]}
hooks?: {[name: string]: string | string[] | HookOptions | HookOptions[] | (string | HookOptions)[]}
/**
* Plugins that can be installed just-in-time.
*/
Expand Down

0 comments on commit 29664ba

Please sign in to comment.