@tempots/ui

MatchResult type

The result of a route match.

Signature:

export type MatchResult<P extends string> = {
    params: ExtractParams<P>;
    path: P;
} | null;

References: ExtractParams