UNPKG

partysocket

Version:
18 lines (16 loc) 577 B
import { PartySocket, PartySocketOptions } from "./index.js"; import { n as EventHandlerOptions, t as SocketOptions } from "./use-socket-ExKnroAd.js"; import useWebSocket from "./use-ws.js"; //#region src/react.d.ts type UsePartySocketOptions = Omit<PartySocketOptions, "host"> & EventHandlerOptions & Pick<SocketOptions, "enabled"> & { host?: string | undefined; }; declare function usePartySocket(options: UsePartySocketOptions): PartySocket; //#endregion export { usePartySocket as default, usePartySocket, useWebSocket }; //# sourceMappingURL=react.d.ts.map