Skip to content

S48-1010-export-generated-types#32

Open
joeward98 wants to merge 1 commit intomasterfrom
S48-1010-export-generated-types
Open

S48-1010-export-generated-types#32
joeward98 wants to merge 1 commit intomasterfrom
S48-1010-export-generated-types

Conversation

@joeward98
Copy link

@joeward98 joeward98 commented Jun 9, 2022

Added autogenerated type exports at top level of package

Types should now be importable from the entry point, eg

import { ManagementTypesV2 } from "@space48/bigcommerce-api";

Types are then extracted as so

type ProductList = ManagementTypesV2["GET /orders/{order_id}/products"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant