@yoryoboy/clickup-sdk
Version:
A modular TypeScript SDK for interacting with the ClickUp API
14 lines (13 loc) • 472 B
TypeScript
/**
* Utility function to split an array into chunks of specified size
* @param array - The array to split
* @param chunkSize - Size of each chunk
* @returns Array of chunks
*/
export declare function chunkArray<T>(array: T[], chunkSize: number): T[][];
/**
* Utility function to delay execution for a specified time
* @param ms - Milliseconds to delay
* @returns Promise that resolves after the delay
*/
export declare function delay(ms: number): Promise<void>;