Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 446 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 446 Bytes

Shopify TypeScript

This packages adds TypeScript for all Shopify responses and objects.

Installation

You can install the package using Yarn:

$ yarn install @grafikr/shopify-typescript

Usage

import type { Product } from '@grafikr/shopify-typescript/type/json/Product';

const func = (data: Product) => {
  ...
};

You can have a look in the repository under global and type folder, to find types you can use.