vuestorefront / storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
https://storefrontapi.com
MIT License
8 stars 1 forks source link

Add type definitions for `src/platform` #19

Open pkarw opened 4 years ago

pkarw commented 4 years ago

What is the motivation for adding/enhancing this feature?

@ResuBaka maybe this is something interesting for you? I've done the first step: https://github.com/DivanteLtd/storefront-api/pull/18 The next step is to add types for all the methods like for: src/platform/abstract/cart.ts:create and so on ...

ResuBaka commented 4 years ago

I can do that.

I first finish the current files I migrate to typescript after that I can create types for all platform/abstract files.

pkarw commented 4 years ago

Perfect thanks! 🙏