Migración desde workspace-v2/projects/template-saas/apps/backend Este repositorio es parte del estándar multi-repo v2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
594 B
TypeScript
17 lines
594 B
TypeScript
// Type declarations for @nestjs/websockets mock
|
|
declare module '@nestjs/websockets' {
|
|
export function WebSocketGateway(options?: any): ClassDecorator;
|
|
export function WebSocketServer(): PropertyDecorator;
|
|
export function SubscribeMessage(message: string): MethodDecorator;
|
|
export function MessageBody(): ParameterDecorator;
|
|
export function ConnectedSocket(): ParameterDecorator;
|
|
|
|
export interface OnGatewayConnection<T = any> {
|
|
handleConnection(client: T, ...args: any[]): any;
|
|
}
|
|
|
|
export interface OnGatewayDisconnect<T = any> {
|
|
handleDisconnect(client: T): any;
|
|
}
|
|
}
|