obsidian-typings 3.16.0 → 3.16.3

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.
@@ -3627,11 +3627,11 @@ declare module "obsidian" {
3627
3627
  */
3628
3628
  dom: HTMLElement;
3629
3629
  /**
3630
- * Items contained in the menu.
3630
+ * Items and separators contained in the menu.
3631
3631
  *
3632
3632
  * @unofficial
3633
3633
  */
3634
- items: MenuItem[];
3634
+ items: (MenuItem | MenuSeparator)[];
3635
3635
  /**
3636
3636
  * Parent menu of the current menu.
3637
3637
  *
@@ -10580,6 +10580,12 @@ declare module "obsidian" {
10580
10580
  * @official
10581
10581
  */
10582
10582
  trashSystem(normalizedPath: string): Promise<boolean>;
10583
+ /**
10584
+ * Add change watcher to path.
10585
+ *
10586
+ * @unofficial
10587
+ */
10588
+ watch(handler: FileSystemWatchHandler): Promise<void>;
10583
10589
  /**
10584
10590
  * Watch recursively for changes.
10585
10591
  *
@@ -10922,6 +10928,12 @@ declare module "obsidian" {
10922
10928
  * @unofficial
10923
10929
  */
10924
10930
  update(normalizedPath: string): Promise<void>;
10931
+ /**
10932
+ * Add change watcher to path.
10933
+ *
10934
+ * @unofficial
10935
+ */
10936
+ watch(normalizedPath: string): Promise<void>;
10925
10937
  /**
10926
10938
  * Writes a file.
10927
10939
  *
@@ -14774,12 +14786,6 @@ declare module "obsidian" {
14774
14786
  * @unofficial
14775
14787
  */
14776
14788
  update(normalizedPath: string): Promise<void>;
14777
- /**
14778
- * Add change watcher to path.
14779
- *
14780
- * @unofficial
14781
- */
14782
- watch(handler: FileSystemWatchHandler): Promise<void>;
14783
14789
  /**
14784
14790
  * Write to a plaintext file.
14785
14791
  * If the file exists its content will be overwritten, otherwise the file will be created.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-typings",
3
- "version": "3.16.0",
3
+ "version": "3.16.3",
4
4
  "description": "Extended type definitions for the Obsidian API (https://obsidian.md)",
5
5
  "main": "",
6
6
  "module": "",