Skip to main content
Allow(validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/common/Allow.d.ts:5 If object has both allowed and not allowed properties a validation error will be thrown.

Parameters

validationOptions?

ValidationOptions

Returns

PropertyDecorator