The name of the parameter type.
Optional
preferForRegexpMatch?: booleanWhether the regular expression(s) for this parameter type should take precedence if used in conjunction with regular expressions for step definitions.
One or more regular expressions which should be used to match the parameter type.
Optional
transformer?: (this: World, ...match: string[]) => unknownA function for transforming the matched values to another object before passing to the step function.
Optional
useForSnippets?: booleanWhether this parameter type should be used when suggesting snippets for missing step definitions.
Options for defining a custom parameter type.