Merge pull request #11530 from overleaf/ii-payment-page-migration-checkout-panel

[web] Payment page migration checkout panel

GitOrigin-RevId: 04edf9961e0032d6fe3631c255e49dc1d4c3e0ca
This commit is contained in:
ilkin-overleaf
2023-02-07 09:04:53 +00:00
committed by Copybot
parent 85fbded781
commit 7f8d2e37d5
18 changed files with 1076 additions and 1 deletions
@@ -0,0 +1,6 @@
export function callFnsInSequence<
Args,
Fn extends ((...args: Args[]) => void) | void
>(...fns: Fn[]) {
return (...args: Args[]) => fns.forEach(fn => fn?.(...args))
}