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
mute-gold•16mo ago
This can happen if the path cannot resolve to a route at the type level. Can you give a better example or reproduction?
stormy-goldOP•16mo ago
If its okay im trying it first with an image of my routes directory:

stormy-goldOP•16mo ago
Im trying to navigate from appointments.$id to manage
stormy-goldOP•16mo ago

stormy-goldOP•16mo ago
This ist the appointments.$id
mute-gold•16mo ago
To do this you should use
from
prop to get type safety