UNPKG

react-carousel-query

Version:

A infinite carousel component made with react that handles the pagination for you.

10 lines (9 loc) 358 B
import { WebSocketServer } from 'ws'; declare type Server = ConstructorParameters<typeof WebSocketServer>[0]['server']; export declare class ServerChannel { webSocketServer: WebSocketServer; constructor(server: Server); emit(type: string, args?: any[]): void; } export declare function getServerChannel(server: Server): ServerChannel; export {};