cast the type

This commit is contained in:
Jack Amadeo
2026-04-03 10:20:37 -04:00
parent f756deb4f5
commit f6ebca3b76
@@ -26,7 +26,9 @@ async function loadBundledExtensions(): Promise<BundledExtension[]> {
if (bundledExtensionsOverride !== null) return bundledExtensionsOverride;
try {
const distroExtensions = await window.electron.getDistroBundledExtensions();
const distroExtensions = (await window.electron.getDistroBundledExtensions()) as
| BundledExtension[]
| null;
if (distroExtensions) {
bundledExtensionsOverride = distroExtensions;
return distroExtensions;