Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: Add preupdate hook (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbergman authored and jdx committed Oct 4, 2018
1 parent 5e19e8c commit 81890f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export interface Hooks {
Command: Config.Command.Class
argv: string[]
}
update: {}
preupdate: {channel: string}
update: {channel: string}
'command_not_found': {id: string},
'plugins:preinstall': {
plugin: {
Expand All @@ -28,6 +29,7 @@ export namespace Hook {
export type Init = Hook<Hooks['init']>
export type PluginsPreinstall = Hook<Hooks['plugins:preinstall']>
export type Prerun = Hook<Hooks['prerun']>
export type Preupdate = Hook<Hooks['preupdate']>
export type Update = Hook<Hooks['update']>
export type CommandNotFound = Hook<Hooks['command_not_found']>

Expand Down

0 comments on commit 81890f9

Please sign in to comment.