Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
273 B
Text
7 lines
273 B
Text
export type MergeFunctions<F1, F2> = F1 extends (arg: infer A1) => infer R1
|
|
? F2 extends (arg: infer A2) => infer R2
|
|
? R1 extends Promise<unknown>
|
|
? (arg?: A1 & A2) => Promise<Awaited<R1> & Awaited<R2>>
|
|
: (arg?: A1 & A2) => R1 & R2
|
|
: never
|
|
: never;
|