@n1k1t/mock-server
Version:
Powerful util to setup mocks over HTTP APIs
10 lines • 517 B
TypeScript
import type { InternalSocketIoRequestContext } from './context';
import { Reply } from '../../../models';
export declare class InternalSocketIoReply<TOutgoing = unknown> extends Reply<InternalSocketIoRequestContext, TOutgoing> {
ok(payload: TOutgoing): void;
internalError(message?: string): void;
validationError(reasons?: unknown[]): void;
notFound(): void;
static build<TResponse>(context: InternalSocketIoRequestContext): InternalSocketIoReply<TResponse>;
}
//# sourceMappingURL=reply.d.ts.map