kdnk_obsidian-automatic-linker/obsidian-ext.d.ts
2025-12-20 20:43:05 +09:00

23 lines
472 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
}
}