mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-25 02:35:10 -10:00
fix: typescript error (any) from models (#347)
This commit is contained in:
1 parent
f19c6b05f2
commit
0dc586faef
1 file changed
+1
-1
@@ -57,7 +57,7 @@ export namespace ModelsDev {
|
||||
}
|
||||
refresh()
|
||||
const json = await data()
|
||||
return JSON.parse(json)
|
||||
return JSON.parse(json) as Record<string, Provider>
|
||||
}
|
||||
|
||||
async function refresh() {
|
||||
|
||||
Reference in new issue
Block a user