UNPKG

kucoin-api

Version:

Complete & robust Node.js SDK for Kucoin's REST APIs and WebSockets, with TypeScript & strong end to end tests.

12 lines (11 loc) 297 B
export interface WsDataEvent<TData = any, TWSKey = string> { data: TData; table: string; wsKey: TWSKey; } export interface MessageEventLike { target: WebSocket; type: 'message'; data: string; } export declare function isMessageEvent(msg: unknown): msg is MessageEventLike;