diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/platform/api.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/api.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/api.ts b/packages/taler-wallet-webextension/src/platform/api.ts index 49108fa63..2537b16c2 100644 --- a/packages/taler-wallet-webextension/src/platform/api.ts +++ b/packages/taler-wallet-webextension/src/platform/api.ts @@ -18,6 +18,7 @@ import { CoreApiResponse, NotificationType, TalerUri, + WalletNotification, } from "@gnu-taler/taler-util"; import { WalletConfig, @@ -60,9 +61,7 @@ export interface CrossBrowserPermissionsApi { ): void; } -export type MessageFromBackend = { - type: NotificationType; -}; +export type MessageFromBackend = WalletNotification; export type MessageFromFrontend< Op extends BackgroundOperations | WalletOperations | ExtensionOperations, |