Y
Hacker News
new
|
ask
|
show
|
jobs
by
mikeyhew
2576 days ago
Does it typecheck queries for you based on the schema, and generate a response type for TypeScript?
1 comments
smusumeche
2576 days ago
No, but you can do something like this:
https://formidable.com/blog/2019/strong-typing/
link
mikeyhew
2576 days ago
Oh cool, they have a package for urql:
https://graphql-code-generator.com/docs/plugins/typescript-u...
I might try it out once it supports the new hooks.
link