mirror of
https://github.com/sst/opencode.git
synced 2025-07-08 00:25:00 +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()
|
||||
const json = await data()
|
||||
return JSON.parse(json)
|
||||
return JSON.parse(json) as Record<string, Provider>
|
||||
}
|
||||
|
||||
async function refresh() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue