UNPKG

@eggjs/controller-decorator

Version:

tegg controller decorator

13 lines (12 loc) 466 B
import type { EggProtoImplClass } from '@eggjs/tegg-types'; import { WebSocketMethodMeta } from '../../model'; export declare class WebSocketControllerMethodMetaBuilder { private readonly clazz; private readonly methodName; constructor(clazz: EggProtoImplClass, methodName: string); private checkParamDecorators; private buildParamType; private isFetchOnlyParamType; getPriority(): number; build(): WebSocketMethodMeta | undefined; }