| @@ -23,7 +23,7 @@ export type SourceForCredentialStatus = { · 22 unmodified lines |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | 25 | const scopeRank = (ranks: ReadonlyMap<string, number>, scopeId: ScopeId): number => |
| 26 | | − ranks.get(scopeId as string) ?? Number.MAX_SAFE_INTEGER; |
| 26 | + ranks.get(scopeId) ?? Number.MAX_SAFE_INTEGER; |
| 27 | 27 | |
| 28 | 28 | export const effectiveBindingForScope = ( |
| 29 | 29 | rows: readonly BindingRowForCredentialStatus[], |
| @@ -60,7 +60,7 @@ const hasConnectionBinding = ( · 30 unmodified lines |
| 60 | 60 | const binding = effectiveBindingForScope(rows, slot, targetScope, ranks); |
| 61 | 61 | if (binding?.value.kind !== "connection") return false; |
| 62 | 62 | return liveConnectionIds |
| 63 | | − ? liveConnectionIds.has(binding.value.connectionId as string) |
| 63 | + ? liveConnectionIds.has(binding.value.connectionId) |
| 64 | 64 | : true; |
| 65 | 65 | }; |
| 66 | 66 | |
| @@ -83,7 +83,7 @@ export function missingCredentialLabels( · 16 unmodified lines |
| 83 | 83 | const liveConnectionIds = rawLiveConnectionIds |
| 84 | 84 | ? rawLiveConnectionIds instanceof Set |
| 85 | 85 | ? rawLiveConnectionIds |
| 86 | | − : new Set([...rawLiveConnectionIds].map((id) => id as string)) |
| 86 | + : new Set(rawLiveConnectionIds) |
| 87 | 87 | : undefined; |
| 88 | 88 | |
| 89 | 89 | for (const [headerName, value] of Object.entries(source.config.headers ?? {})) { |