mirror of
https://github.com/talwrii/plugin-repl.git
synced 2026-07-22 11:40:27 +00:00
fix any warning
This commit is contained in:
parent
37fdcf763f
commit
495a6f54a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue