Rocky_Mountain_Vending/.pnpm-store/v10/files/df/3d57aeb7c92b32e4585cf62d9dbdb61cabf56ba8220b5077f272f4ff253f796e6280df694271b3c88806464ba8827a2132dbcf1200c805e82963e5dc2b8814
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

7 lines
419 B
Text

/**
* Resolves a function that accepts both the object argument fields of F1 and F2.
* The function returns an intersection of what F1 and F2 return.
*
* @public
*/
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;