obsidian-typings 2.34.0 → 2.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -834,7 +834,7 @@ export interface BacklinkComponent extends Component {
834
834
  onToggleMoreContextClick(): unknown;
835
835
  onToggleShowSearch(): unknown;
836
836
  passSearchFilter(arg1: unknown, arg2: unknown): unknown;
837
- recomputeBacklink(backlinkFile: TFile): void;
837
+ recomputeBacklink(backlinkFile: TFile | null): void;
838
838
  recomputeUnlinked(arg1: unknown): unknown;
839
839
  setBacklinkCollapsed(arg1: unknown, arg2: unknown): Promise<unknown>;
840
840
  setCollapseAll(arg1: unknown): unknown;
@@ -1673,7 +1673,7 @@ declare module "obsidian" {
1673
1673
  * Backlinks component
1674
1674
  * @todo Documentation incomplete
1675
1675
  */
1676
- backlinks: null | unknown;
1676
+ backlinks: BacklinkComponent | null;
1677
1677
  /**
1678
1678
  * The embedded backlinks element for the current file
1679
1679
  */
@@ -4060,7 +4060,7 @@ export interface BacklinkComponent extends Component {
4060
4060
  onToggleMoreContextClick(): unknown;
4061
4061
  onToggleShowSearch(): unknown;
4062
4062
  passSearchFilter(arg1: unknown, arg2: unknown): unknown;
4063
- recomputeBacklink(backlinkFile: TFile): void;
4063
+ recomputeBacklink(backlinkFile: TFile | null): void;
4064
4064
  recomputeUnlinked(arg1: unknown): unknown;
4065
4065
  setBacklinkCollapsed(arg1: unknown, arg2: unknown): Promise<unknown>;
4066
4066
  setCollapseAll(arg1: unknown): unknown;
@@ -5514,6 +5514,10 @@
5514
5514
  "text": "TFile",
5515
5515
  "canonicalReference": "obsidian!TFile:class"
5516
5516
  },
5517
+ {
5518
+ "kind": "Content",
5519
+ "text": " | null"
5520
+ },
5517
5521
  {
5518
5522
  "kind": "Content",
5519
5523
  "text": "): "
@@ -5529,8 +5533,8 @@
5529
5533
  ],
5530
5534
  "isOptional": false,
5531
5535
  "returnTypeTokenRange": {
5532
- "startIndex": 3,
5533
- "endIndex": 4
5536
+ "startIndex": 4,
5537
+ "endIndex": 5
5534
5538
  },
5535
5539
  "releaseTag": "Public",
5536
5540
  "overloadIndex": 1,
@@ -5539,7 +5543,7 @@
5539
5543
  "parameterName": "backlinkFile",
5540
5544
  "parameterTypeTokenRange": {
5541
5545
  "startIndex": 1,
5542
- "endIndex": 2
5546
+ "endIndex": 3
5543
5547
  },
5544
5548
  "isOptional": false
5545
5549
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-typings",
3
- "version": "2.34.0",
3
+ "version": "2.35.0",
4
4
  "description": "Extended type definitions for the Obsidian API (https://obsidian.md)",
5
5
  "main": "",
6
6
  "module": "",