UNPKG

node-web-mvc

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