Skip to content

Commit

Permalink
feat: getBacklinksForFile change to return ReferenceCache
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mnaoumov committed Sep 18, 2024
1 parent ee7cbd0 commit 1ba2065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obsidian/augmentations/MetadataCache.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ declare module 'obsidian' {
/**
* Get all backlink information for a file
*/
getBacklinksForFile(file?: TFile): CustomArrayDict<LinkCache>;
getBacklinksForFile(file?: TFile): CustomArrayDict<ReferenceCache>;
/**
* Get paths of all files cached in the vault
*/
Expand Down

0 comments on commit 1ba2065

Please sign in to comment.