Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
20
frontend/node_modules/es-toolkit/dist/compat/function/rearg.d.ts
generated
vendored
Normal file
20
frontend/node_modules/es-toolkit/dist/compat/function/rearg.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { Many } from "../_internal/Many.js";
|
||||
|
||||
//#region src/compat/function/rearg.d.ts
|
||||
/**
|
||||
* Creates a function that invokes `func` with arguments arranged according to the specified `indices`
|
||||
* where the argument value at the first index is provided as the first argument,
|
||||
* the argument value at the second index is provided as the second argument, and so on.
|
||||
*
|
||||
* @param func The function to rearrange arguments for.
|
||||
* @param indices The arranged argument indices.
|
||||
* @returns Returns the new function.
|
||||
*
|
||||
* @example
|
||||
* const greet = (greeting: string, name: string) => `${greeting}, ${name}!`;
|
||||
* const rearrangedGreet = rearg(greet, 1, 0);
|
||||
* console.log(rearrangedGreet('World', 'Hello')); // Output: "Hello, World!"
|
||||
*/
|
||||
declare function rearg(func: (...args: any[]) => any, ...indices: Array<Many<number>>): (...args: any[]) => any;
|
||||
//#endregion
|
||||
export { rearg };
|
||||
Loading…
Add table
Add a link
Reference in a new issue