Replies: 1 comment
-
seems like i had to run the project before making the route files |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I installed tanstack router by following the process here
when i pasted the routes code i get a type error from createLazyFileRoute which says
Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)
here's how the declariation looks like
export declare function createLazyFileRoute<TFilePath extends keyof FileRoutesByPath, TRoute extends FileRoutesByPath[TFilePath]['preLoaderRoute']>(path: TFilePath): (opts: LazyRouteOptions) => LazyRoute<TRoute>;
is this normal?
Beta Was this translation helpful? Give feedback.
All reactions