How to type LazyRoute with code-based splitting?
I tried to implement route based code splitting following this section of the docs: https://tanstack.com/router/latest/docs/framework/react/guide/code-splitting#code-based-splitting
When I implemented as shown in the example, I get following eslint error:
Unsafe return of typeHow can I properly type this?Promise<any>
from function with return typePromise<LazyRoute<any>>
.eslint@typescript-eslint/no-unsafe-return
0 Replies