vuestorefront / magento2

Vue Storefront 2 integration for Magento 2
https://docs.vuestorefront.io/magento
MIT License
171 stars 119 forks source link

chore: change context type to interface #1508

Closed jagoral closed 7 months ago

jagoral commented 8 months ago

In extensions in beforeCall hook, we're able to override the configuration. However it's not possible to add typing for it. Having an IntegrationContext as interface would allow user to use the declaration merging.

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: fb8304b1ddc6585fc32a45894b1d72fd2f62fb6a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @vue-storefront/magento-api | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR