From a8e5eb0afc29655ee323baa39a52f34dbecfb11c Mon Sep 17 00:00:00 2001 From: Alexey Chernyavskiy Date: Mon, 21 Jul 2025 09:35:30 +0500 Subject: [PATCH] fix(explorer): make maxExpandLevel non-nullable with 0 as default --- quartz/components/scripts/explorer.inline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/components/scripts/explorer.inline.ts b/quartz/components/scripts/explorer.inline.ts index e98b2035e..8d401ad58 100644 --- a/quartz/components/scripts/explorer.inline.ts +++ b/quartz/components/scripts/explorer.inline.ts @@ -7,7 +7,7 @@ type MaybeHTMLElement = HTMLElement | undefined interface ParsedOptions { folderClickBehavior: "collapse" | "link" folderDefaultState: "collapsed" | "open" - maxExpandLevel?: number + maxExpandLevel: number useSavedState: boolean sortFn: (a: FileTrieNode, b: FileTrieNode) => number filterFn: (node: FileTrieNode) => boolean