Skip to content

Commit

Permalink
Update primus type definition
Browse files Browse the repository at this point in the history
Fixes issue when you define the socket elsewhere and wanted to pass feathers-primus the bare socket.
  • Loading branch information
Sieabah authored and daffl committed Aug 22, 2018
1 parent f9d2272 commit 196814f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primus/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

declare function e(config:any, configurer:any | Function): () => void;
declare function e(config:any | socket:any, configurer:any | Function | undefined): () => void;
declare namespace e{}
export = e;

0 comments on commit 196814f

Please sign in to comment.