octokit / graphql-schema

GitHub’s GraphQL Schema with validation. Automatically updated.
MIT License
176 stars 62 forks source link

Scalar types use explicit any, but their types are known #560

Open jbreckel opened 2 years ago

jbreckel commented 2 years ago

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.

zhouzi commented 2 years ago

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