Skip to content

Commit

Permalink
fix(typings): make sendBuffer and receiveBuffer public
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Jan 5, 2021
1 parent 8c08c5d commit b83f89c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ export class Socket extends Emitter {
public connected: boolean;
public disconnected: boolean;

public receiveBuffer: Array<ReadonlyArray<any>> = [];
public sendBuffer: Array<Packet> = [];

private readonly nsp: string;
private readonly auth: object | ((cb: (data: object) => void) => void);

private ids: number = 0;
private acks: object = {};
private receiveBuffer: Array<ReadonlyArray<any>> = [];
private sendBuffer: Array<Packet> = [];
private flags: Flags = {};
private subs?: Array<VoidFunction>;
private _anyListeners: Array<(...args: any[]) => void>;
Expand Down

0 comments on commit b83f89c

Please sign in to comment.