UNPKG

sussy-util

Version:
11 lines (10 loc) 499 B
/** * 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;