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 Updated 1.7k repo stars

File contents

hashintel/brunch commit cc0b1096f6

Frequently asked questions

npx get-skill add hashintel/router-core-type-safety