mirror of
https://github.com/kdnk/obsidian-automatic-linker.git
synced 2026-07-22 12:00:30 +00:00
23 lines
472 B
TypeScript
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
|
|
}
|
|
}
|