Skip to content

FileTypeValidatorOptions

reference
1 min readUpdated

Kind: Type

Source: packages/common/pipes/file/file-type.validator.ts

Part of: Common

Definition

ts
{ fileType: string | RegExp; errorMessage?: string | ((ctx: FileTypeValidatorContext) => string); skipMagicNumbersValidation?: boolean; fallbackToMimetype?: boolean; overrideMimeType?: boolean; }

Was this page helpful?

Download as PDF
FileTypeValidatorOptions — NestJS head-to-head