UNPKG

company-cafeteria-shared-demo

Version:

Package partagé pour l'écosystème Cafétéria Entreprise

17 lines 473 B
/** * Generate a unique ID */ export declare function generateId(): string; /** * Calculate order total with tax */ export declare function calculateTotal(subtotal: number, taxRate?: number): number; /** * Check if user has permission */ export declare function hasPermission(userRole: string, requiredRole: string): boolean; /** * Sleep utility for async operations */ export declare function sleep(ms: number): Promise<void>; //# sourceMappingURL=helpers.d.ts.map