Closed rcwestlake closed 7 months ago
Description and expected behavior A clear and concise description of what the bug is and what's the expected behavior.
Screenshots Unknown type: The hook: Error: If I switch to a ternary style, it still complains:
Environment (please complete the following information):
"@zenstackhq/runtime": "^1.9.0", "@zenstackhq/server": "^1.9.0", "@zenstackhq/tanstack-query": "^1.9.0", "zenstack": "1.9.0"
"^5.10.2"
Additional context
Thanks for reporting this @rcwestlake ! Yes, we should have better typing for the error. Will make a fix in the next release.
Fixes in 1.10.0
Description and expected behavior A clear and concise description of what the bug is and what's the expected behavior.
Screenshots Unknown type: The hook: Error: If I switch to a ternary style, it still complains:
Environment (please complete the following information):
"^5.10.2"
Additional context