0.1.3 • Published 4 years ago
@field123/ep-ts-converting v0.1.3
@field123/ep-ts-converting
Install
yarn add -D @field123/ep-ts-converting @field123/io-ts-excess fp-ts io-tsUsage
npx ep-ts-converting <source> <dest>npx ep-ts-converting ./types/animals.ts ./outputnpx ep-ts-converting ./types/animals.ts ./output --exact --tests --testsDir=./output/tests| Key | CLI opt | Default | Description |
|---|---|---|---|
| exact | --exact | false | Should the output decoders fail if provided extra properties? |
| tests | --tests | false | Scaffold out tests for the generated decoders |
| testsDir | --tests-dir \<dir> | \<dest> | What should the output directory for the scaffolded tests be? |
| help | -h, --help | n/a | display help for command |