Skip to content

Commit

Permalink
fix: IPaymentNetworkState better typing (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-abrioux committed Oct 21, 2022
1 parent 25c3ec0 commit 4d26fe8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/types/src/extension-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ export interface IState<T = any> {
values: T;
}

/** Extensions state in advanced logic */
/** State for payment networks extensions only */
export interface IPaymentNetworkState<T = any> extends IState<T> {
id: Exclude<ID, 'content-data'>;
id: Exclude<ID, ID.CONTENT_DATA>;
type: TYPE.PAYMENT_NETWORK;
}

/** Creation action object */
Expand Down

0 comments on commit 4d26fe8

Please sign in to comment.