From 6220d9fcd7366156c6a0851610f9e835923b27a0 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Tue, 5 May 2026 22:19:29 -0700 Subject: [PATCH] Remove OpenAPI summary casts --- packages/plugins/openapi/src/react/OpenApiSourceSummary.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/openapi/src/react/OpenApiSourceSummary.tsx b/packages/plugins/openapi/src/react/OpenApiSourceSummary.tsx index f04e7e654..305c161ed 100644 --- a/packages/plugins/openapi/src/react/OpenApiSourceSummary.tsx +++ b/packages/plugins/openapi/src/react/OpenApiSourceSummary.tsx @@ -86,9 +86,9 @@ export default function OpenApiSourceSummary(props: { return props.variant === "panel" ? null : ; } const connections = AsyncResult.isSuccess(connectionsResult) ? connectionsResult.value : []; - const liveConnectionIds = new Set(connections.map((connection) => connection.id as string)); + const liveConnectionIds = new Set(connections.map((connection) => connection.id)); const scopeRanks = new Map( - scopeStack.map((scope, index) => [scope.id as string, index] as const), + scopeStack.map((scope, index) => [scope.id, index] as const), ); const credentialTargetScope = userScope; const missing = missingCredentialLabels(source, bindings, credentialTargetScope, scopeRanks, {