Export TypeScript types from creem_io package

I want the TypeScript types (Checkout, Customer, Product, Subscription, Transaction, License, Discount, WebhookOptions, CheckoutCompletedEvent, SubscriptionEvent, GrantAccessContext, RevokeAccessContext) to be explicitly exported from the 'creem_io' package. Currently, the documentation at https://docs.creem.io/code/sdks/typescript#typescript-support suggests they can be imported, but attempting to do so results in error ts(2459) because they are only declared locally within the module. This makes it difficult to build type-safe applications without using complex workarounds like ReturnType.

Please authenticate to join the conversation.

Upvoters
Status

Rejected

Board
💡

Feature Request

Date

8 months ago

Author

Micha

Subscribe to post

Get notified by email when there are changes.