Skip to content

Commit 7bca8fe

Browse files
committed
fix: specify type for serverConfigData as Record<string, any>
1 parent 0d2947c commit 7bca8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/mcp/McpHub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ export class McpHub {
840840

841841
// Read from the appropriate config file based on the actual source
842842
try {
843-
let serverConfigData: any
843+
let serverConfigData: Record<string, any> = {}
844844
if (actualSource === "project") {
845845
// Get project MCP config path
846846
const projectMcpPath = await this.getProjectMcpPath()

0 commit comments

Comments
 (0)