Skip to content

Commit

Permalink
fix: getBacklinksForFile accept mandatory TFile
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaoumov committed Sep 21, 2024
1 parent 524f56c commit 395d226
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<ReferenceCache>;
getBacklinksForFile(file: TFile): CustomArrayDict<ReferenceCache>;
/**
* Get paths of all files cached in the vault
*/
Expand Down

0 comments on commit 395d226

Please sign in to comment.