From eca21f4ea0d6cdab4631ba9cadf920e3de79e80a Mon Sep 17 00:00:00 2001 From: Michael Naumov Date: Tue, 17 Sep 2024 21:49:13 -0600 Subject: [PATCH] feat: fix getAvailablePathForAttachments signature --- src/obsidian/augmentations/Vault.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/obsidian/augmentations/Vault.d.ts b/src/obsidian/augmentations/Vault.d.ts index 5d164695..04f6622b 100644 --- a/src/obsidian/augmentations/Vault.d.ts +++ b/src/obsidian/augmentations/Vault.d.ts @@ -52,7 +52,7 @@ declare module 'obsidian' { getAvailablePathForAttachments( filename: string, extension: string, - file: TAbstractFile | null + file: TFile | null ): Promise; /** * Get value from config by key