diff --git a/src/typings/obsidian-ex.d.ts b/src/typings/obsidian-ex.d.ts index 1493914..5dd1dbe 100644 --- a/src/typings/obsidian-ex.d.ts +++ b/src/typings/obsidian-ex.d.ts @@ -3,7 +3,6 @@ import type { DataviewApi } from "api/plugin-api"; import type moment from "moment"; import "obsidian"; import { TemplaterApi } from "src/core/template"; -import { PublicAPI } from "src/main"; declare module "obsidian" { interface MetadataCache { @@ -34,13 +33,8 @@ declare module "obsidian" { declare global { interface Window { DataviewAPI?: DataviewApi; - MF?: PublicAPI; - ModalForm?: PublicAPI; - } -} - -declare global { - interface Window { + MF?: API; + ModalForm?: API; moment: typeof moment; } }