diff --git a/src/Components/NextPrev.svelte b/src/Components/NextPrev.svelte index 86c84c53..f3625252 100644 --- a/src/Components/NextPrev.svelte +++ b/src/Components/NextPrev.svelte @@ -3,10 +3,11 @@ import { openOrSwitch } from "obsidian-community-lib"; import { linkClass } from "src/sharedFunctions"; import type BCPlugin from "src/main"; + import type { PrevNext } from "src/interfaces"; export let app: App; export let plugin: BCPlugin; - export let next: { to: string; real: boolean }[]; - export let prev: { to: string; real: boolean }[]; + export let next: PrevNext[]; + export let prev: PrevNext[];