(record: Record<string, unknown>, key: string)
| 351 | } |
| 352 | |
| 353 | export function readPoint(record: Record<string, unknown>, key: string): PointInput { |
| 354 | const point = readRecordField(record, key); |
| 355 | return { x: requiredNumber(point, 'x'), y: requiredNumber(point, 'y') }; |
| 356 | } |
| 357 | |
| 358 | function requiredString(record: Record<string, unknown>, key: string): string { |
| 359 | const value = record[key]; |
no test coverage detected
searching dependent graphs…