SegParams
SegParams<
S> =Sextends`[...${infer Name}]`?{ [K in Name]: string }:Sextends`[${infer Name}=${infer Matcher}]`?{ [K in Name]: MatcherType<Matcher> }:Sextends`[${infer Name}]`?{ [K in Name]: string }:object
Defined in: components/panels.ts:47
The params contributed by a single path-template segment: [x] a string,
[x=integer] a number, [...x] the rest of the path as one raw string.
Type Parameters
Section titled “Type Parameters”S extends string