Append created types to specified file, if that file already exists.
sp88011 opened this issue · comments
Feature description
Allow types to be added to existing file, rather than overwriting a file that may exist.
Input
npm ts-to-zod src/iDontTrustThisApi.ts src/nowIcanValidateEverything.ts
Output
if src/nowIcanValidateEverything.ts
exists, add output to end of file. Otherwise create file.
Feel free to create a PR!