(id: string)
| 1096 | const declared = declaring.get(name); |
| 1097 | if (!declared) continue; |
| 1098 | const has = (id: string): boolean => |
| 1099 | declared.has(id) || |
| 1100 | opaque.has(id) || |
| 1101 | (inherits.get(id) ?? []).some((ancestor) => declared.has(ancestor)); |
| 1102 | const contracts = new Set([...declared].flatMap((id) => interfacesOf.get(id) ?? [])); |
| 1103 | for (const contract of contracts) { |
| 1104 | const own = implementers.get(contract); |