ParamOptions
@tsed/platform-params
Usage
typescript
import { ParamOptions } from "@tsed/platform-params";
See /packages/platform/platform-params/src/types/domain/ParamOptions.ts.
Overview
ts
interface ParamOptions<T = any> {
dataPath: string;
paramType: string;
expression?: string;
useType?: Type<T>;
useMapper?: boolean;
useValidation?: boolean;
[key: string]: any;
}
dataPath
ts
dataPath: string;
paramType
ts
paramType: string;
expression
ts
expression?: string;
useType
ts
useType?: Type<T>;
useMapper
ts
useMapper?: boolean;
useValidation
ts
useValidation?: boolean;
[key: string]
ts
[key: string]: any;