Skip to content

RouteTable

RouteTable<R> = { [K in keyof R & string]: (panel: Panel<Prettify<PathParams<K>>>) => void }

Defined in: components/panels.ts:75

The shape S.main()’s routes option is checked against: every key types its own handler’s params. Used as a self-referential generic constraint, which is what makes $panel.params infer from the route key.

R