24 lines
337 B
TypeScript
24 lines
337 B
TypeScript
import type { MetadataCache, ViewState, Vault } from 'obsidian'
|
|
|
|
declare module 'obsidian' {
|
|
interface MetadataCache {
|
|
isUserIgnored?(path: string): boolean
|
|
}
|
|
|
|
interface ViewState {
|
|
state?: {
|
|
file?: string
|
|
}
|
|
}
|
|
|
|
interface Vault {
|
|
getConfig(string): unknown
|
|
}
|
|
|
|
interface App {
|
|
appId: string
|
|
}
|
|
}
|
|
|
|
|