Skip to content

Commit

Permalink
Allow null as Revolut Pay target (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbents authored Jun 29, 2023
1 parent ce88ee5 commit f9309bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ export type RevolutPayEventPayload<

export interface PaymentsModuleRevolutPayInstance {
mount: (
target: string | HTMLElement,
target: string | HTMLElement | null,
options: WidgetPaymentsRevolutPayOptions
) => void
on: <T extends RevolutPayEvents['type']>(
Expand Down

0 comments on commit f9309bf

Please sign in to comment.