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 #162 from Creiger/patch-1
Browse files Browse the repository at this point in the history
Define return type for hooks
  • Loading branch information
eddyystop authored Jun 23, 2017
2 parents f8b5c1d + 7df95e3 commit ac5fca6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as feathers from 'feathers';

declare module 'feathers' {
interface Service<T> {
before(hooks: hooks.HookMap);
after(hooks: hooks.HookMap);
hooks(hooks: hooks.HooksObject);
before(hooks: hooks.HookMap):any;
after(hooks: hooks.HookMap):any;
hooks(hooks: hooks.HooksObject):any;
}
}

Expand Down

0 comments on commit ac5fca6

Please sign in to comment.