Skip to content

Routes

Routes = Record<string, RouteHandler>

Defined in: components/panels.ts:68

A route table: path templates mapped to panel draw functions. Used as the loose (non-inferred) type; S.main() infers a more precise type from the literal you pass, so each handler’s $panel.params is typed per its key.