Type alias RouteParamsOutput_T<Params>

RouteParamsOutput_T<Params>: {
    [K in Params[number][0]]: Extract<Params[number], readonly [K, any]>[1] extends "int" | "float"
        ? number
        : Extract<Params[number], readonly [K, any]>[1] extends "boolean"
            ? boolean
            : Extract<Params[number], readonly [K, any]>[1] extends "string"
                ? string
                : never
}

Type Parameters

  • Params extends RouteParams_T

Generated using TypeDoc