Rocky_Mountain_Vending/.pnpm-store/v10/files/cd/1b58f6f8fb39a138f68b3aa81b81d96e4c1f2f1ed80830d4d98029e5f41ddd32f5e765a716677d285d959c9d81142d74515485adf6e800222529e59414f3cb
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

8 lines
389 B
Text

/**
* A type that represents a deeply readonly object. This is similar to
* TypeScript's `Readonly` type, but it recursively applies the `readonly`
* modifier to all properties of an object and all elements of arrays.
*/
export type DeepReadonly<T> = T extends (infer R)[] ? ReadonlyArray<DeepReadonly<R>> : T extends object ? {
readonly [K in keyof T]: DeepReadonly<T[K]>;
} : T;