UNPKG

ts2typebox

Version:

Creates TypeBox code from Typescript code

10 lines (7 loc) 294 B
# Example When ts2typebox is installed (simply issue npm i -g ts2typebox to do so), clone the repo, cd into this directory and: - Remove the old generated-types.ts file `rm generated-types.ts` - Use ts2typebox to generate the typebox types based on the types.ts file `ts2typebox` - done :]