to value is not assignable since upgrade.
Hi ! I tried to upgrade from 1.26.18 to 1.30 and noticed these type errors after trying to build the app.
Type '".."' is not assignable to type '"../create" | "../delete/$vvaId" | "../../" | undefined'
For example, this error is happening here :
In this example, I got theses routes :
- /app/tools/vva
- /create
- /delete/$vvaId
All I want is to redirect to /app/tools/vva route.
Why isn't it working anymore ?
Type '".."' is not assignable to type '"../create" | "../delete/$vvaId" | "../../" | undefined'
For example, this error is happening here :
In this example, I got theses routes :
- /app/tools/vva
- /create
- /delete/$vvaId
All I want is to redirect to /app/tools/vva route.
Why isn't it working anymore ?