Fixing "any" type
This commit is contained in:
parent
9b702c75e3
commit
f8d462b0d7
4 changed files with 9 additions and 9 deletions
|
@ -17,7 +17,7 @@ export interface ExSocketInterface extends Socket, Identificable {
|
|||
/**
|
||||
* Pushes an event that will be sent in the next batch of events
|
||||
*/
|
||||
emitInBatch: (event: string | symbol, payload: any) => void;
|
||||
batchedMessages: Array<{ event: string | symbol, payload: any }>;
|
||||
emitInBatch: (event: string | symbol, payload: unknown) => void;
|
||||
batchedMessages: Array<{ event: string | symbol, payload: unknown }>;
|
||||
batchTimeout: NodeJS.Timeout|null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue