From a4564001c49df27e08ba3d04d27bf45b35b95320 Mon Sep 17 00:00:00 2001 From: Jarvis Jr Hermes Date: Wed, 2 Sep 2026 09:44:20 +0000 Subject: [PATCH] fix: preserve sidebar literal types --- sidebarsScope.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sidebarsScope.ts b/sidebarsScope.ts index 4f2c5bf..1eb1999 100644 --- a/sidebarsScope.ts +++ b/sidebarsScope.ts @@ -13,10 +13,10 @@ const sidebars: SidebarsConfig = { link: {type: 'doc', id: 'epics/index'}, collapsed: false, items: epicIds.map((id) => ({ - type: 'category', + type: 'category' as const, label: id.toUpperCase(), - link: {type: 'doc', id: `epics/${id}`}, - items: [{type: 'category', label: 'Features', items: []}], + link: {type: 'doc' as const, id: `epics/${id}`}, + items: [{type: 'category' as const, label: 'Features', items: []}], })), }, ],