Skip to content

Commit 4d26fe8

Browse files
fix: IPaymentNetworkState better typing (#967)
1 parent 25c3ec0 commit 4d26fe8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/types/src/extension-types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ export interface IState<T = any> {
5353
values: T;
5454
}
5555

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

6162
/** Creation action object */

0 commit comments

Comments
 (0)