From 8c4bb89412cc4e76e0ec031f1a8291fbc51e96fc Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 16 Dec 2024 16:53:59 +0000 Subject: [PATCH] Update type casting --- packages/builder/src/stores/portal/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/stores/portal/plugins.ts b/packages/builder/src/stores/portal/plugins.ts index 5b1e04c2ff..0794e563eb 100644 --- a/packages/builder/src/stores/portal/plugins.ts +++ b/packages/builder/src/stores/portal/plugins.ts @@ -7,7 +7,7 @@ export function createPluginsStore() { const { subscribe, set, update } = writable([]) async function load() { - const plugins = (await API.getPlugins()) as Plugin[] + const plugins: Plugin[] = await API.getPlugins() set(plugins) }