xddq / ts2typebox

Creating TypeBox code from Typescript types
MIT License
43 stars 3 forks source link

use prettier config of repo when invoking ts2typescript to enable custom formatting #15

Closed xddq closed 1 year ago

xddq commented 1 year ago

now reading in the prettier config of the repo where the cli was invoked and using this to format the resulting code. If none was found, default to the default prettier config.

fixes the examples and some tests along the way, updates the readme