@cucumber/core
    Preparing search index...

    Type Alias DefinedParameterType

    A parameter type that has been defined and is available for use

    type DefinedParameterType = {
        id: string;
        name: string;
        order: number;
        preferForRegularExpressionMatch: boolean;
        regularExpressions: ReadonlyArray<string>;
        sourceReference: SourceReference;
        useForSnippets: boolean;
        toMessage(): ParameterType;
    }
    Index

    Properties

    id: string

    A unique identifier for the parameter type

    name: string

    The name of the parameter type

    order: number

    The number of this parameter type in the definition-ordered sequence of support code

    preferForRegularExpressionMatch: boolean

    Whether the regular expression(s) for this parameter type will take precedence if used in conjunction with regular expressions for step definitions

    regularExpressions: ReadonlyArray<string>

    One or more regular expressions that will be used to match the parameter type

    sourceReference: SourceReference

    A reference to the source code of the user-defined parameter type

    useForSnippets: boolean

    Whether this parameter type will be used when suggesting snippets for missing step definitions

    Methods

    • Creates a Cucumber Message representing this parameter type

      Returns ParameterType