From f9309bf588a8b93870ccb793389b0c89e300b58b Mon Sep 17 00:00:00 2001 From: andrewbents Date: Thu, 29 Jun 2023 19:19:06 +0100 Subject: [PATCH] Allow null as Revolut Pay target (#67) --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index a8260b7..d50bd45 100644 --- a/src/types.ts +++ b/src/types.ts @@ -605,7 +605,7 @@ export type RevolutPayEventPayload< export interface PaymentsModuleRevolutPayInstance { mount: ( - target: string | HTMLElement, + target: string | HTMLElement | null, options: WidgetPaymentsRevolutPayOptions ) => void on: (