fix: add Record type annotation to getAllFallbackChains result

This commit is contained in:
diegosouzapw
2026-02-14 19:43:19 -03:00
parent 31c09f08e1
commit a9a85fdc1b

View File

@@ -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;