Skip to content

Commit 8a9448b

Browse files
committed
fix: app missing plugins type
1 parent 0c9d7c5 commit 8a9448b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/Utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function unCamelCase(str: string): string {
204204
}
205205

206206
export function hasTemplaterPlugin(app: App) {
207-
const templater = app.plugins.plugins['templater-obsidian'];
207+
const templater = (app as any).plugins.plugins['templater-obsidian'];
208208

209209
return !!templater;
210210
}

0 commit comments

Comments
 (0)