Skip to content

Commit 138f146

Browse files
committed
fix(types): resolve McpConnectionManager globalThis undefined type error
1 parent 54d4446 commit 138f146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/mcp/connection-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,4 +470,4 @@ if (!('_mcpConnectionManager' in _g)) {
470470
_g._mcpConnectionManager = isTest ? null : new McpConnectionManager()
471471
}
472472

473-
export const mcpConnectionManager: McpConnectionManager | null = _g._mcpConnectionManager
473+
export const mcpConnectionManager: McpConnectionManager | null = _g._mcpConnectionManager ?? null

0 commit comments

Comments
 (0)