mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 13:52:09 +03:00
fix: add Record type annotation to getAllFallbackChains result
This commit is contained in:
@@ -93,6 +93,7 @@ export function removeFallback(model) {
|
||||
* @returns {Record<string, FallbackEntry[]>}
|
||||
*/
|
||||
export function getAllFallbackChains() {
|
||||
/** @type {Record<string, FallbackEntry[]>} */
|
||||
const result = {};
|
||||
for (const [model, chain] of fallbackChains.entries()) {
|
||||
result[model] = chain;
|
||||
|
||||
Reference in New Issue
Block a user