Router Core Type Safety

Full type inference philosophy (never cast, never annotate inferred values), Register module declaration, from narrowing on hooks and Link, strict:false for shared components, getRouteApi for code-split typed access, addChildren with object syntax for TS perf, LinkProps and ValidateLinkOptions type utilities, as const satisfies pattern.

hashintel cc0b109 13.6 KB Updated

File contents

hashintel/brunch/tree/main/.agents/skills/router-core-type-safety commit cc0b1096f6

Frequently asked questions

npx skillmds@latest add hashintel/router-core-type-safety