Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(docs): resolve TS build error in toolkit-detail getChildren
Sushmithamallesh838a08ba3811
diff --git a/docs/components/toolkits/toolkit-detail.tsx b/docs/components/toolkits/toolkit-detail.tsxindex 085e95c7b..490b49a60 100644--- a/docs/components/toolkits/toolkit-detail.tsx+++ b/docs/components/toolkits/toolkit-detail.tsx@@ -60,7 +60,7 @@ function getChildren(param: ParameterSchema): Record<string, ParameterSchema> |const props = param.properties || param.items?.properties;if (!props || typeof props !== 'object') return null;- const requiredList: string[] = param.requiredFields || param.items?.requiredFields || param.items?.required as string[] || [];+ const requiredList: string[] = param.requiredFields || param.items?.requiredFields || [];const result: Record<string, ParameterSchema> = {};for (const [key, value] of Object.entries(props)) {if (typeof value === 'object' && value !== null) {