fix: app missing plugins type

This commit is contained in:
Kelvin John Falk Szolnoky 2024-01-24 23:16:40 +01:00
parent 0c9d7c54c2
commit 8a9448b141
No known key found for this signature in database
GPG key ID: 02BA666D8C0E7E1B

View file

@ -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;
}