Home > @skunkteam/types > StringTypeConfig
Configuration of additional checks on string types.
Signature:
interface StringTypeConfig extends LengthChecksConfig
Extends: LengthChecksConfig
Property | Modifiers | Type | Description |
---|---|---|---|
customMessage? | CustomMessage<string, StringViolation[]> | Partial<Record<StringViolation, CustomMessage<string, StringViolation>>> | (Optional) | |
pattern? | RegExp | (Optional) |