Skip to content

Commit

Permalink
feat(authorize): update type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavekost committed Feb 18, 2020
1 parent 1c76d16 commit 7a415c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authorize/useAuthorize.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export interface AuthorizeOpts {
declare function useAuthorize(
permissions: string | number | Permission[],
options?: AuthorizeOpts
): [boolean,boolean];
): [boolean, boolean, string];

export default useAuthorize;

0 comments on commit 7a415c7

Please sign in to comment.