graphql-schema icon indicating copy to clipboard operation
graphql-schema copied to clipboard

Scalar types use explicit any, but their types are known

Open jbreckel opened this issue 2 years ago • 1 comments

The currently used custom scalar types are all strings, as noted in the comments.

Using unknown instead of any would also be the type safe way as described here.

jbreckel avatar Nov 29 '21 09:11 jbreckel

The fix proposed to this issue in #561 is part of my fork which is also published to npm, with automatic updates enabled:

zhouzi avatar May 19 '22 17:05 zhouzi