Skip to content

UseValidation

@tsed/platform-params

Usage

typescript
import { UseValidation } from "@tsed/platform-params";

See /packages/platform/platform-params/src/types/decorators/useValidation.ts.

Overview

ts
function UseValidation(): ParameterDecorator;

Description

Enable validation on the decoratored parameter.

Released under the MIT License.