robrichard / graphql-fields

Turns GraphQLResolveInfo into a map of the requested fields
MIT License
350 stars 30 forks source link

Port to TypeScript #20

Open smithki opened 5 years ago

smithki commented 5 years ago

I am looking to use this module in a TypeScript project and feel the usability would greatly improve with type definitions. Considering how small and self-contained the module is, I took a crack at just porting it to TypeScript. Let me know what you think, there should not be any breaking changes involved!

PR: #21

orefalo commented 2 years ago

this is great, thank you!