First-time translation — this takes about 10–15 seconds.
Future visits will be instant.
TypeScript and $types in Load Functions
How SvelteKit generates $types for every route, which type to use in which file, how layout and page data merges at the type level, and how to fix common inference breakdowns.