(example: SearchInput)
| 97 | console.log('-'.repeat(col1 + col2 + 50)); |
| 98 | |
| 99 | function prettyPrint(example: SearchInput): string { |
| 100 | const fields = Object.entries(example) |
| 101 | .map(([k, v]) => `${k}: '${v}'`) |
| 102 | .join(', '); |
| 103 | return `{ ${fields} }`; |
| 104 | } |
| 105 | |
| 106 | for (const example of examples) { |
| 107 | const input = prettyPrint(example); |
no outgoing calls
no test coverage detected