fix: app missing plugins type
This commit is contained in:
parent
0c9d7c54c2
commit
8a9448b141
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue