mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
chore(collection/presentation): fix typecheck
This commit is contained in:
parent
0a72133ca3
commit
d27d9bf7dc
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user