chore(collection/presentation): fix typecheck

This commit is contained in:
Elian Doran
2025-10-16 18:25:10 +03:00
parent 0a72133ca3
commit d27d9bf7dc

View File

@@ -50,7 +50,7 @@ export function getPresentationThemes() {
}));
}
export async function loadPresentationTheme(name: keyof typeof themes) {
export async function loadPresentationTheme(name: keyof typeof themes | string) {
let theme = themes[name];
if (!theme) theme = themes[DEFAULT_THEME];