Update type casting

This commit is contained in:
Andrew Kingston 2024-12-16 16:53:59 +00:00
parent cb88f1faa9
commit 8c4bb89412
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export function createPluginsStore() {
const { subscribe, set, update } = writable<Plugin[]>([])
async function load() {
const plugins = (await API.getPlugins()) as Plugin[]
const plugins: Plugin[] = await API.getPlugins()
set(plugins)
}