We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375aa3c commit 3f28a0bCopy full SHA for 3f28a0b
packages/engine.io-parser/mod.ts
@@ -12,7 +12,7 @@ export type PacketType =
12
| "noop"
13
| "error";
14
15
-export type RawData = string | ArrayBuffer | ArrayBufferView | Blob;
+export type RawData = string | ArrayBuffer | ArrayBufferView<ArrayBuffer> | Blob;
16
17
export interface Packet {
18
type: PacketType;
packages/socket.io-parser/mod.ts
@@ -22,7 +22,7 @@ export interface Packet {
22
attachments?: number;
23
}
24
25
-type Attachments = ArrayBuffer | ArrayBufferView | Blob;
+type Attachments = ArrayBuffer | ArrayBufferView<ArrayBuffer> | Blob;
26
27
export class Encoder {
28
public encode(packet: Packet): RawData[] {
0 commit comments