Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mikeyhew
· 7y ago · 0 comments
Does it typecheck queries for you based on the schema, and generate a response type for TypeScript?
Comments
[–]
smusumeche
7y ago
No, but you can do something like this:
https://formidable.com/blog/2019/strong-typing/
[–]
mikeyhew
OP
7y 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.