kdnk_obsidian-automatic-linker/obsidian-ext.d.ts
2025-12-16 23:40:29 +09:00

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;
}
}