Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

18
node_modules/es-toolkit/dist/function/once.d.ts generated vendored Normal file
View File

@@ -0,0 +1,18 @@
//#region src/function/once.d.ts
/**
* Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.
*
* @template F - The type of the function.
* @param {F} func - The function to restrict.
* @returns {F} Returns the new restricted function.
*
* @example
* const initialize = once(createApplication);
*
* initialize();
* initialize();
* // => `createApplication` is invoked once
*/
declare function once<F extends (...args: any[]) => any>(func: F): F;
//#endregion
export { once };