#context is not infered

6 messages · Page 1 of 1 (latest)

chilly zenith
#

Have you run vite dev with the router plugin installed. It's likely your generated file is out of date

lyric crane
chilly zenith
#

Are you exporting the router module augmentation?

declare module '@tanstack/react-router' {
  interface Register {
    router: typeof router
  }
}
chilly zenith
#

Hmmm, I'm not quite sure then. If anyone else looks at this they may appreciate a minimum reproducible example based off of the examples

lyric crane