io-ts-transformer
io-ts-transformer copied to clipboard
TypeScript transformer which converts TypeScript types to io-ts entities
I'm getting an error "TypeError: io_ts_transformer_1.buildDecoder is not a function" Here is the code: import * as t from 'io-ts'; import * as t from 'io-ts'; import { buildDecoder }...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependency [tsconfig-paths](https://github.com/dividab/tsconfig-paths). These dependencies need to be updated together. Updates `json5` from 1.0.1 to 2.2.3 Release notes Sourced from json5's releases. v2.2.3 Fix:...
Love this tool! It's working great for me so far, but one thing I noticed is that the decoders produced don't use the TypeScript type names, so the decoder names...
Extending an interface with a generic returns void [Here's an example repo](https://github.com/etler/io-ts-test/tree/generic-interface-failure) When given the input: ```typescript import { buildDecoder } from "io-ts-transformer" interface FilterQuery { filters: F } interface...
I was not able to get local module resolution to work with index files. For example: `import { User } from "./schema"` where the file that needs to be resolved...
My company uses [flavoring](https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/) to provide nominal typing for id strings. Flavoring is very similar to [branding](https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d) and is only marginally different in that it allows a one way conversion...
Addressing #11 this adds the [`resolve` package](https://www.npmjs.com/package/resolve) which re-implements node.js module file resolution. This is needed because the built in `require` function is not intended to only support javascript files...
I would love to have this project transform some graphql generated typescript types [by this library](https://github.com/dotansimha/graphql-code-generator) and take things one step further by generating `io-ts` types, so I can get...