sussy-util
Version:
Util package made by me
11 lines (10 loc) • 499 B
TypeScript
/**
* Measures the execution time of the provided function and logs the result to the console using the given label.
*
* @param {string} label - The label to use when logging the execution time.
* @param {Function} func - The function to measure the execution time of.
* @param {...any} params - The parameters to pass to the function.
* @returns {void}
*/
declare const _default: (label: string, func: (...args: unknown[]) => unknown, ...params: unknown[]) => void;
export default _default;