UNPKG

@eggjs/controller-decorator

Version:

tegg controller decorator

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