Type "../../" is not assignable to type "../../../"
Im always getting this error, when trying to navigate. The error only appears in the ide, the code works fine.
When I use
../../../ I get: Type "../../../" is not assignable to type "../../../../" and so one.6 Replies
rival-black•2y ago
This can happen if the path cannot resolve to a route at the type level. Can you give a better example or reproduction?
future-harlequinOP•2y ago
If its okay im trying it first with an image of my routes directory:

future-harlequinOP•2y ago
Im trying to navigate from appointments.$id to manage
future-harlequinOP•2y ago

future-harlequinOP•2y ago
This ist the appointments.$id
rival-black•2y ago
To do this you should use
from prop to get type safety