(value: unknown, context: string)
| 133 | } |
| 134 | |
| 135 | function parseResources(value: unknown, context: string): MothershipResource[] { |
| 136 | assertValid(Array.isArray(value), `${context} must be an array`) |
| 137 | |
| 138 | return value.map((resource, index) => parseResource(resource, `${context}[${index}]`)) |
| 139 | } |
| 140 | |
| 141 | function parseStrictStreamSnapshot( |
| 142 | value: unknown, |
no test coverage detected