From 6d3d752fd5af821c7466ccff955667ff2dc21de5 Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 4 Mar 2026 12:21:40 +0100 Subject: [PATCH] fix: pass initial value to useRef for strict TS build Co-Authored-By: Claude Opus 4.6 --- src/components/WikilinkChatInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/WikilinkChatInput.tsx b/src/components/WikilinkChatInput.tsx index 3c03a839..183c3509 100644 --- a/src/components/WikilinkChatInput.tsx +++ b/src/components/WikilinkChatInput.tsx @@ -74,7 +74,7 @@ export function WikilinkChatInput({ const internalRef = useRef(null) const inputRefToUse = externalRef ?? internalRef const menuRef = useRef(null) - const debounceTimer = useRef>() + const debounceTimer = useRef>(undefined) const typeEntryMap = useMemo(() => buildTypeEntryMap(entries), [entries])