.query.query are inferred to anyany instead of the actual type. I've tried a bunch of different things but can't seem to get it to work. I also couldn't find anything specifically related to this wrt. TS5. AppRouterAppRouter imported from the referenced project seems to have the correct shape, but somehow calling a queryquery on the router instance still fails.

Join the Discord to ask follow-up questions and connect with the community