mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 03:40:14 +01:00
refactor: add type annotation for loadedEndpoints in loadEndpoints function
This commit is contained in:
parent
c0d6404385
commit
c160e7c7d5
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ const { checkAzureVariables } = require('./checks');
|
|||
* @param {TCustomConfig['endpoints']['agents']} [agentsDefaults]
|
||||
*/
|
||||
const loadEndpoints = (config, agentsDefaults) => {
|
||||
/** @type {AppConfig['endpoints']} */
|
||||
const loadedEndpoints = {};
|
||||
const endpoints = config?.endpoints;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue