ft_transcendence/pong/node_modules/@nestjs/websockets/context/ws-proxy.d.ts
2023-05-02 19:15:50 +02:00

6 lines
345 B
TypeScript

import { WsExceptionsHandler } from '../exceptions/ws-exceptions-handler';
export declare class WsProxy {
create(targetCallback: (...args: unknown[]) => Promise<any>, exceptionsHandler: WsExceptionsHandler): (...args: unknown[]) => Promise<any>;
handleError<T>(exceptionsHandler: WsExceptionsHandler, args: unknown[], error: T): void;
}