UNPKG

node-web-mvc

Version:
21 lines (20 loc) 644 B
import ParamAnnotation from './ParamAnnotation'; declare class RequestParam extends ParamAnnotation { file?: boolean; constructor(); } /** * 从query请求参数中,提取指定名称的参数值 * * action(@RequestParam id) * * action(@RequestParam({ required: true }) id) * */ declare const _default: { (options: string | import("../Target").CreateOptions<typeof RequestParam>): ParameterDecorator; (target: { [x: string]: any; }, propertyKey: string, parameterIndex: number): any; } & import("../annotation/type").LinkAnnotationType<typeof RequestParam> & typeof RequestParam; export default _default;