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

19
node_modules/es-toolkit/dist/compat/function/flip.d.ts generated vendored Normal file
View File

@@ -0,0 +1,19 @@
//#region src/compat/function/flip.d.ts
/**
* Reverses the order of arguments for a given function.
*
* @template T - The type of the function being flipped.
* @param {T} func - The function whose arguments will be reversed.
* @returns {T} A new function that takes the reversed arguments and returns the result of calling `func`.
*
* @example
* var flipped = flip(function() {
* return Array.prototype.slice.call(arguments);
* });
*
* flipped('a', 'b', 'c', 'd');
* // => ['d', 'c', 'b', 'a']
*/
declare function flip<T extends (...args: any) => any>(func: T): T;
//#endregion
export { flip };