computed-types icon indicating copy to clipboard operation
computed-types copied to clipboard

🦩 Joi like validations for TypeScript

Results 6 computed-types issues
Sort by recently updated
recently updated
newest added

node: 16.14.0 typescript: 4.5.5 computed-types: 1.11.2 ``` const schema = Schema.either( { foo: string.equals('X'), bar: array.max(0), baz: array.min(1), }, { foo: string.equals('Y'), bar: array.min(1), baz: array.max(0), }, ) const obj...

Hey there again, sorry that I keep digging up weird stuff :) I have created a constructed type with ```ts const stringOrObjectWithKey = string.construct( (arg: { key: string } |...

In cases we already have the schema types defined, it would be a nice to have the `Schema` receive the output type and optionally the input type explicitly. **Motivation:** Validate...

enhancement
help wanted

hi :smiley_cat: i was getting amongst `computed-types` for a side project i'm playing with, and then i realized the types i want to validate are circular, e.g. a tree data...

enhancement
help wanted

This is your weekly update of **all development** npm dependencies. Please take a good look at what changed and the test results before merging this pull request. ### What changed?...

depfu

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies