isUserIgnored() is not available on mobile

This commit is contained in:
Simon Cambier
2022-05-04 20:10:19 +02:00
parent b414c2a568
commit 32181296ef
2 changed files with 2 additions and 2 deletions

2
src/types.d.ts vendored
View File

@@ -2,6 +2,6 @@ import { type MetadataCache } from 'obsidian'
declare module 'obsidian' {
interface MetadataCache {
isUserIgnored(path:string):boolean
isUserIgnored?(path: string): boolean
}
}