mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
chore(collection/presentation): fix typecheck
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user