Skip to content

FlagStringConstraintsFragmentV1

String constraints of a flag or arg fragment, with the pattern split into source and flags.

Signatures

ts
type FlagStringConstraintsFragmentV1 = unknown;

Members

Properties

maxLength

ts
maxLength?: number;

minLength

ts
minLength?: number;

nonEmpty

ts
nonEmpty?: boolean;

pattern

ts
pattern?: { flags: string; source: string; };

See Also

Released under the MIT License.