Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoral committed Apr 4, 2024
1 parent 6a9eda5 commit fb8304b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/random-name-tg.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@vsf-enterprise/magento-api": patch
"@vue-storefront/magento-api": patch
---

[CHANGED] `Context` from type to interface to allow declaration merging.
3 changes: 2 additions & 1 deletion packages/api-client/src/types/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { ApiClientMethods, IntegrationContext } from "@vue-storefront/middleware
import { MagentoApiMethods } from "@vue-storefront/magento-types";
import { ClientInstance, Config } from "./setup";

export interface Context extends IntegrationContext<ClientInstance, Config, ApiClientMethods<MagentoApiMethods>> {};
// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Allow extending this interface
export interface Context extends IntegrationContext<ClientInstance, Config, ApiClientMethods<MagentoApiMethods>> {}

0 comments on commit fb8304b

Please sign in to comment.