From 8a9448b1415bb2101cc1370963dab10551c09e64 Mon Sep 17 00:00:00 2001 From: Kelvin John Falk Szolnoky Date: Wed, 24 Jan 2024 23:16:40 +0100 Subject: [PATCH] fix: app missing plugins type --- src/utils/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 7cc95fc..ac01139 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -204,7 +204,7 @@ export function unCamelCase(str: string): string { } export function hasTemplaterPlugin(app: App) { - const templater = app.plugins.plugins['templater-obsidian']; + const templater = (app as any).plugins.plugins['templater-obsidian']; return !!templater; }