From 87146b5b936a7a5ee43d79e4fe005d06500eab85 Mon Sep 17 00:00:00 2001 From: Alexandre ABRIOUX Date: Thu, 20 Oct 2022 19:13:43 +0200 Subject: [PATCH] fix: IPaymentNetworkState better typing --- packages/types/src/extension-types.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/types/src/extension-types.ts b/packages/types/src/extension-types.ts index 187bc3891..bbaf4475d 100644 --- a/packages/types/src/extension-types.ts +++ b/packages/types/src/extension-types.ts @@ -53,9 +53,10 @@ export interface IState { values: T; } -/** Extensions state in advanced logic */ +/** State for payment networks extensions only */ export interface IPaymentNetworkState extends IState { - id: Exclude; + id: Exclude; + type: TYPE.PAYMENT_NETWORK; } /** Creation action object */