ms/packages/websocket/src/socket-io/packet.ts

12 lines
230 B
TypeScript
Raw Normal View History

import { PacketTypes, SubPacketTypes } from './types'
export interface Packet {
type: PacketTypes;
sub_type?: SubPacketTypes;
nsp?: string;
id?: number;
name?: string;
data?: any;
attachments?: any;
}