Converting a custom Link component to use createLink after moving to a monorepo structure
Hello 
I am hoping for some advice as I am in over my head and have become stuck on this:
I am converting to a monorepo structure, and I have started encountering TS issues related to it, where I had no issue before.
I have a custom Link component, code:
This came from tailwind's catalyst UI set of components, and was refactored to work with tanstack router. The current implementation above was perfect before I converted to a monorepo.
To be clear, my router is in apps/web because it is not needed anywhere else in the monorepo
I now get this TS error on
I have been trying to refactor it to utilise
Thanks a million
I am hoping for some advice as I am in over my head and have become stuck on this:
I am converting to a monorepo structure, and I have started encountering TS issues related to it, where I had no issue before.
I have a custom Link component, code:
This came from tailwind's catalyst UI set of components, and was refactored to work with tanstack router. The current implementation above was perfect before I converted to a monorepo.
To be clear, my router is in apps/web because it is not needed anywhere else in the monorepo
I now get this TS error on
export const LinkI have been trying to refactor it to utilise
createLink but have been banging my head against a wall trying to get it to work and would really appreciate a dig outThanks a million