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

Commit

Permalink
fix: use proper plugin type def (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
amphro authored and jdx committed Mar 20, 2019
1 parent a3e3052 commit 5dca287
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ export interface Hooks {
'command_not_found': {id: string},
'plugins:preinstall': {
plugin: {
name: string,
tag: string,
type: 'npm'
name: string;
tag: string;
type: 'npm';
} | {
url: string;
type: 'repo';
}
}
}
Expand Down

0 comments on commit 5dca287

Please sign in to comment.