Skip to content

Commit 61d1799

Browse files
author
Bruno Bergher
committed
Better type safety
1 parent f489b0b commit 61d1799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webview-ui/src/components/chat/ModeSelector.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { IconButton } from "./IconButton"
88
import { vscode } from "@/utils/vscode"
99
import { useExtensionState } from "@/context/ExtensionStateContext"
1010
import { useAppTranslation } from "@/i18n/TranslationContext"
11+
import { ModeConfig } from "@roo-code/types"
1112

1213
interface ModeSelectorProps {
1314
value: Mode
@@ -16,7 +17,7 @@ interface ModeSelectorProps {
1617
title?: string
1718
triggerClassName?: string
1819
modeShortcutText: string
19-
customModes?: any[]
20+
customModes?: ModeConfig[]
2021
}
2122

2223
export const ModeSelector: React.FC<ModeSelectorProps> = ({

0 commit comments

Comments
 (0)