Skip to main content

OptimalOptions

Index

Properties

Properties

optionalfile

file?: string

Include a filename in validation error messages. Can be used in conjunction with name.

optionalname

name?: string

Include a unique identifier in validation error messages. Can be used in conjunction with file.

optionalunknown

unknown?: boolean

Allow unknown fields to be passed within the object being validated. Otherwise, an error will be thrown.