From 1ba2065b081fd172368cc2d30053427fbcf14417 Mon Sep 17 00:00:00 2001 From: Michael Naumov Date: Tue, 17 Sep 2024 23:37:40 -0600 Subject: [PATCH] feat: getBacklinksForFile change to return ReferenceCache This is more a cosmetic change. It's more accurate as reference can be either LinkCache or EmbedCache However as types they are equivalent at the moment --- src/obsidian/augmentations/MetadataCache.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/obsidian/augmentations/MetadataCache.d.ts b/src/obsidian/augmentations/MetadataCache.d.ts index ecb3e26..0ee2cd0 100644 --- a/src/obsidian/augmentations/MetadataCache.d.ts +++ b/src/obsidian/augmentations/MetadataCache.d.ts @@ -66,7 +66,7 @@ declare module 'obsidian' { /** * Get all backlink information for a file */ - getBacklinksForFile(file?: TFile): CustomArrayDict; + getBacklinksForFile(file?: TFile): CustomArrayDict; /** * Get paths of all files cached in the vault */