(value: unknown)
| 102 | return value; |
| 103 | } |
| 104 | function node(value: unknown): ImpactEvidenceNode { |
| 105 | const row = object(value); |
| 106 | return { id: count(row.id), name: text(row.name), qualified_name: text(row.qualified_name), |
| 107 | file_path: text(row.file_path), line: count(row.line) }; |
| 108 | } |
| 109 | |
| 110 | /** Fail closed: an API error or malformed evidence never becomes a reassuring zero. */ |
| 111 | export function readSelectionImpact(value: unknown): SelectionImpactReply { |
no test coverage detected