UNPKG

@eggjs/controller-decorator

Version:

tegg controller decorator

14 lines (13 loc) 510 B
import type { EggProtoImplClass } from '@eggjs/tegg-types'; import { WebSocketFetchMethodMeta } from '../../model'; export declare class WebSocketFetchControllerMethodMetaBuilder { private readonly clazz; private readonly methodName; constructor(clazz: EggProtoImplClass, methodName: string); private checkParamDecorators; private isAllowedParamType; private isCommonParamType; private buildParamType; getPriority(): number; build(): WebSocketFetchMethodMeta | undefined; }