@micro-router
    Preparing search index...

    Function matchTextEnum

    • A primitive that will succeed if the path being matched against is exactly one of the provided string literals. The data will be the matched string value.

      Type Parameters

      • const T extends readonly string[]

      Parameters

      • ...values: T

      Returns Path<`(${JoinStringTypes<T, "|">})`, T[number]>