Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #161 from tycho01/patch-1
Browse files Browse the repository at this point in the history
TypeScript: HookProps.type: add 'error'
  • Loading branch information
eddyystop authored May 19, 2017
2 parents d9983a8 + 6b97ed0 commit f8b5c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare namespace hooks {

interface HookProps<T> {
method?: string;
type: 'before' | 'after';
type: 'before' | 'after' | 'error';
params?: any;
data?: T;
result?: T;
Expand Down

0 comments on commit f8b5c1d

Please sign in to comment.