We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to do
SomePage.authenticate = { redirectTo: Routes.LoginPage() }
I get the TypeScript error error TS2322: Type 'RouteUrlObject' is not assignable to type 'string'.
error TS2322: Type 'RouteUrlObject' is not assignable to type 'string'.
tsc
blitz -v
Windows 10 | win32-x64 | Node: v14.15.5 blitz: 0.34.3 (global) blitz: 0.35.0 (local) Package manager: npm System: OS: Windows 10 10.0.19042 CPU: (6) x64 Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz Memory: 6.65 GB / 15.94 GB Binaries: Node: 14.15.5 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found npmPackages: @prisma/client: ~2.20 => 2.20.1 blitz: 0.35.0 => 0.35.0 prisma: ~2.20 => 2.20.1 react: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 react-dom: 0.0.0-experimental-6a589ad71 => 0.0.0-experimental-6a589ad71 typescript: ~4.2 => 4.2.4
The text was updated successfully, but these errors were encountered:
Seems very much related to blitz-js/blitz#2243
Sorry, something went wrong.
Allow passing Route Manifest result to authenticate.redirectTo (Close…
229308f
…s #2358)
Page.authenticate.redirectTo
Successfully merging a pull request may close this issue.
What is the problem?
When I try to do
I get the TypeScript error
error TS2322: Type 'RouteUrlObject' is not assignable to type 'string'.
What are detailed steps to reproduce this?
tsc
Run
blitz -v
and paste the output here:The text was updated successfully, but these errors were encountered: