gristlabs / ts-interface-builder

Compile TypeScript interfaces into a description that allows runtime validation
Apache License 2.0
132 stars 28 forks source link

Add `format?: "ts" | "js:esm" | "js:cjs"` option #23

Closed zenflow closed 4 years ago

zenflow commented 4 years ago

Closes #12 with the approach I described in this comment: https://github.com/gristlabs/ts-interface-builder/issues/12#issuecomment-667356795

/cc @dsagal

Checklist

zenflow commented 4 years ago

@dsagal Excellent! Thank you very much! Another PR is coming shortly for #22. (I'm testing it out and it's working beautifully)