From 495a6f54a3a79d845ef200426cdfddb91515d2c9 Mon Sep 17 00:00:00 2001 From: Tal Wrii Date: Thu, 13 Feb 2025 15:14:57 +0100 Subject: [PATCH] fix any warning --- src/templater.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templater.ts b/src/templater.ts index 8b60bfd..67ec5af 100644 --- a/src/templater.ts +++ b/src/templater.ts @@ -43,7 +43,7 @@ export async function templater_expand(app: PrivateApp, template: string) { export async function getTp(app: PrivateApp) { let path = this.app.workspace.getLeaf().view.path - let p = app.plugins.getPlugin("templater-obsidian") as any + let p = app.plugins.getPlugin("templater-obsidian") as TemplaterPlugin if (p === undefined) { new Error("Templater must be installed") }