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
33
frontend/node_modules/es-toolkit/dist/compat/function/bind.d.mts
generated
vendored
Normal file
33
frontend/node_modules/es-toolkit/dist/compat/function/bind.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
//#region src/compat/function/bind.d.ts
|
||||
/**
|
||||
* Creates a function that invokes `func` with the `this` binding of `thisArg` and `partials` prepended to the arguments it receives.
|
||||
*
|
||||
* The `bind.placeholder` value, which defaults to a `symbol`, may be used as a placeholder for partially applied arguments.
|
||||
*
|
||||
* Note: Unlike native `Function#bind`, this method doesn't set the `length` property of bound functions.
|
||||
*
|
||||
* @param func - The function to bind.
|
||||
* @param thisObj - The `this` binding of `func`.
|
||||
* @param partialArgs - The arguments to be partially applied.
|
||||
* @returns Returns the new bound function.
|
||||
*
|
||||
* @example
|
||||
* function greet(greeting, punctuation) {
|
||||
* return greeting + ' ' + this.user + punctuation;
|
||||
* }
|
||||
* const object = { user: 'fred' };
|
||||
* let bound = bind(greet, object, 'hi');
|
||||
* bound('!');
|
||||
* // => 'hi fred!'
|
||||
*
|
||||
* bound = bind(greet, object, bind.placeholder, '!');
|
||||
* bound('hi');
|
||||
* // => 'hi fred!'
|
||||
*/
|
||||
declare function bind(func: (...args: any[]) => any, thisObj: any, ...partialArgs: any[]): (...args: any[]) => any;
|
||||
declare namespace bind {
|
||||
var placeholder: typeof bindPlaceholder;
|
||||
}
|
||||
declare const bindPlaceholder: unique symbol;
|
||||
//#endregion
|
||||
export { bind };
|
||||
Loading…
Add table
Add a link
Reference in a new issue