Documentation
    Preparing search index...

    Configuration for matching and casting route parameters

    type RouteMatcher = {
        match?: RegExp;
        cast?: (value: string) => any;
    }
    Index

    Properties

    Properties

    match?: RegExp

    Regular expression to match parameter values

    cast?: (value: string) => any

    Function to cast string parameter values to specific types