Skip to content

Commit

Permalink
fix: Add params.authentication type, remove hook.connection type (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored and daffl committed Dec 15, 2019
1 parent f4331aa commit d46b7b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions packages/authentication/src/service.ts
Expand Up @@ -22,6 +22,7 @@ declare module '@feathersjs/feathers' {

interface Params {
authenticated?: boolean;
authentication?: AuthenticationRequest;
}
}

Expand Down
4 changes: 0 additions & 4 deletions packages/feathers/index.d.ts
Expand Up @@ -117,10 +117,6 @@ declare namespace createApplication {
* A read only property with the hook type (one of before, after or error).
*/
readonly type: 'before' | 'after' | 'error';
/**
* The real-time connection object
*/
connection?: any;
}

interface HookMap {
Expand Down

0 comments on commit d46b7b2

Please sign in to comment.