Rocky_Mountain_Vending/.pnpm-store/v10/files/ca/bbb93d3c7f5cb9605c326efe1de77f01776c5bf22d4d34f3e3f4d4247a09986f553417a1ebbeb32c48df58e153622810fb2f26684fa4afb7cbf707feb9ab90
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

26 lines
562 B
Text

import type {IsEmptyObject} from './empty-object';
/**
An if-else-like type that resolves depending on whether the given type is `{}`.
@see {@link IsEmptyObject}
@example
```
import type {IfEmptyObject} from 'type-fest';
type ShouldBeTrue = IfEmptyObject<{}>;
//=> true
type ShouldBeBar = IfEmptyObject<{key: any}, 'foo', 'bar'>;
//=> 'bar'
```
@category Type Guard
@category Utilities
*/
export type IfEmptyObject<
T,
TypeIfEmptyObject = true,
TypeIfNotEmptyObject = false,
> = IsEmptyObject<T> extends true ? TypeIfEmptyObject : TypeIfNotEmptyObject;