UNPKG

@addapptables/ng-web-socket

Version:
7 lines (6 loc) 454 B
import 'reflect-metadata'; import { WebSocketOptions } from '../models/websocket-options.model'; export declare const getMetadata: (target: any) => any; export declare function WebSocketGateway<T = any>(webSocketOptions?: WebSocketOptions<T>): (target: any) => void; export declare function Subscribe(event: string): (target: any, propertyKey: string) => void; export declare function WebSocketServer(): (target: any, propertyKey: string) => void;