mirror of
https://github.com/sst/opencode.git
synced 2025-09-01 02:37:23 +00:00
fix: typescript error (any) from models (#347)
This commit is contained in:
parent
f19c6b05f2
commit
0dc586faef
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export namespace ModelsDev {
|
||||||
}
|
}
|
||||||
refresh()
|
refresh()
|
||||||
const json = await data()
|
const json = await data()
|
||||||
return JSON.parse(json)
|
return JSON.parse(json) as Record<string, Provider>
|
||||||
}
|
}
|
||||||
|
|
||||||
async function refresh() {
|
async function refresh() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue