(output: string)
| 129 | } |
| 130 | |
| 131 | function resolveOutputFilePath(output: string): string { |
| 132 | return path.extname(output) ? output : `${output}.svg`; |
| 133 | } |
| 134 | |
| 135 | async function ensureOutputParent(target: string): Promise<void> { |
| 136 | const parent = path.dirname(target); |