( id: string, removed: ReadonlySet<string>, annotations: ReadonlyMap<string, MigrationAnnotation> )
| 172 | } |
| 173 | |
| 174 | const isRemovalCoveredByModule = ( |
| 175 | id: string, |
| 176 | removed: ReadonlySet<string>, |
| 177 | annotations: ReadonlyMap<string, MigrationAnnotation> |
| 178 | ): boolean => { |
| 179 | const separator = id.indexOf("#") |
| 180 | const module = id.slice(0, separator) |
| 181 | if (separator === -1 || !removed.has(module) || annotations.get(module)?.replacement !== "none") { |
| 182 | return false |
| 183 | } |
| 184 | const annotation = annotations.get(id) |
| 185 | return annotation === undefined || annotation.replacement === "none" |
| 186 | } |
| 187 | |
| 188 | const migrationEntries = ( |
| 189 | diff: ApiDiff, |
no test coverage detected