(family: string, error: string | undefined)
| 292 | ]); |
| 293 | |
| 294 | const note = (family: string, error: string | undefined): void => { |
| 295 | if (error !== undefined) { |
| 296 | warnings.push(`${family} is unknown: ${error}`); |
| 297 | } |
| 298 | }; |
| 299 | note('callees', calleesLeg.error); |
| 300 | note('callers and tests', callersLeg.error); |
| 301 | note('throws', throwsLeg.error); |