( value: unknown )
| 176 | return undefined; |
| 177 | } |
| 178 | |
| 179 | const out: Record<string, string> = {}; |
| 180 | |
| 181 | for (const [key, val] of Object.entries(value)) { |
| 182 | if (typeof val === "string") { |
| 183 | out[key] = val; |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | return out; |
| 188 | }; |
| 189 |