GraphQLGuide / apollo-datasource-mongodb

Apollo data source for MongoDB
MIT License
285 stars 64 forks source link

Create index.d.ts for Typescript #10

Closed yoonhoGo closed 4 years ago

lorensr commented 4 years ago

Thanks! Wondering how to test this (eg w/ VSCode) and publish to npm?

9at8 commented 4 years ago

@lorensr this explains in depth what to do.

TLDR; Add a "types": "index.d.ts" to package.json before publishing

gayansanjeewa commented 4 years ago

Hi guys,

Any progress on this feature..? We'd love to use this in one of our projects and for that we need the Typescript support.

Thanks in advance. Gayan

lorensr commented 4 years ago

@gayansanjeewa we're waiting on either @yoonhoGo to make the suggested changes and someone to test it, or for someone to create another PR with the changes

lorensr commented 4 years ago

Merged #13, released in 0.2.4