diff --git a/.voidrules b/.voidrules index 08826ef2..8cded830 100644 --- a/.voidrules +++ b/.voidrules @@ -3,4 +3,6 @@ This is a fork of the VSCode repo called Void. Most code we care about lives in src/vs/workbench/contrib/void. You may often need to explore the full repo to find relevant parts of code. -Look for services, and built-in functions that you might need to use to solve the problem. \ No newline at end of file +Look for services, and built-in functions that you might need to use to solve the problem. + +NEVER lazily cast to 'any' in typescript. Find the correct type to apply and use it. diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index 92b7d20e..7f11ff15 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -728,6 +728,7 @@ const ToolHeaderWrapper = ({