Demo, all content is generated
Question
Expo Router typed routes all red after I renamed a folder
Renamed app/(tabs)/profile to app/(tabs)/account. App runs fine, but TypeScript now complains on every router.push("/account"):
Argument of type '"/account"' is not assignable to parameter of type ...
and still suggests /profile in autocomplete.
What I’ve tried
Restarted the TS server in VS Code, deleted node_modules. Claude Code wants to cast everything to 'as any' which I don't want.
Had this, I think the generated types file only updates while expo start is running? Not sure. tuan_ng · edited
Activity
16 helpers notified