WooCommerce TypeScript definitions

I’m working on a project that consumes WooCommerce API in React Native.

To keep everything up to date, use type-hinting, and see dynamic issues *before* I’ve compiled the code, I’m using TypeScript definitions for WooCommerce.

Type definitions are supplied for Category, Product, Variation, Attribute, Image. Other less important types are also included (Collection, Dimensions, MetaData, etc).

Grab the types at the link below. Pull requests welcome.

https://github.com/rrrhys/wootoapp-rewrite/blob/master/app/types/woocommerce.d.ts