mirror of
https://github.com/unarray/file-tree-generator.git
synced 2026-07-22 08:40:29 +00:00
Add undocumented API methods
This commit is contained in:
parent
87177353f9
commit
f85c0415ea
1 changed files with 21 additions and 0 deletions
21
src/obsidian-undoc-api.d.ts
vendored
Normal file
21
src/obsidian-undoc-api.d.ts
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import type { SettingTab, MarkdownViewModeType } from "obsidian";
|
||||
|
||||
/**
|
||||
* THIS FILE IS REFERENCE TO UNDOCUMENTED API FONCTIONNALITY
|
||||
* THIS FONCTIONNALITY CAN CHANGE AT ANY TIME
|
||||
*/
|
||||
|
||||
declare module "obsidian" {
|
||||
interface App {
|
||||
setting: {
|
||||
open: () => void;
|
||||
openTabById: (id: string) => null | SettingTab;
|
||||
};
|
||||
}
|
||||
|
||||
interface MarkdownFileInfo {
|
||||
currentMode: {
|
||||
type: MarkdownViewModeType;
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue