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
21
frontend/node_modules/es-toolkit/dist/predicate/isPromise.d.ts
generated
vendored
Normal file
21
frontend/node_modules/es-toolkit/dist/predicate/isPromise.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//#region src/predicate/isPromise.d.ts
|
||||
/**
|
||||
* Checks if a given value is `Promise`.
|
||||
*
|
||||
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `Promise`.
|
||||
*
|
||||
* @param value The value to check if it is a `Promise`.
|
||||
* @returns Returns `true` if `value` is a `Promise`, else `false`.
|
||||
*
|
||||
* @example
|
||||
* const value1 = new Promise((resolve) => resolve());
|
||||
* const value2 = {};
|
||||
* const value3 = 123;
|
||||
*
|
||||
* console.log(isPromise(value1)); // true
|
||||
* console.log(isPromise(value2)); // false
|
||||
* console.log(isPromise(value3)); // false
|
||||
*/
|
||||
declare function isPromise(value: unknown): value is Promise<any>;
|
||||
//#endregion
|
||||
export { isPromise };
|
||||
Loading…
Add table
Add a link
Reference in a new issue