mirror of
https://github.com/kdnk/obsidian-automatic-linker.git
synced 2026-07-22 05:37:46 +00:00
23 lines
367 B
TypeScript
23 lines
367 B
TypeScript
import "obsidian";
|
|
import { EditorView } from "@codemirror/view";
|
|
|
|
declare module "obsidian" {
|
|
interface App {
|
|
commands: {
|
|
commands: {
|
|
"editor:save-file": {
|
|
callback?: () => void;
|
|
checkCallback?: (checking: boolean) => void;
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
interface Editor {
|
|
cm?: EditorView;
|
|
}
|
|
|
|
interface Vault {
|
|
getConfig(id: string): string;
|
|
}
|
|
}
|