diff --git a/packages/primus/client.d.ts b/packages/primus/client.d.ts index ab9fb5d5ea..8a9c43c0bd 100644 --- a/packages/primus/client.d.ts +++ b/packages/primus/client.d.ts @@ -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;