ianstormtaylor/superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
TypeScriptMIT
Pinned issues
Issues
- 0
- 2
- 1
Intersection of type schema and record with enums as keys
#1235 opened by alexamy - 0
How can I generate declaration file from superstruct
#1234 opened by hemedani - 0
Does "create" supports "passthrough"
#1233 opened by Bonjour123 - 0
Describe does not work well with union types
#1229 opened by BoveFabio - 4
- 3
Compatibility with moduleResolution: "Node16" is broken.
#1160 opened by ivands - 0
Move tests to Vitest
#1226 opened by arturmuller - 4
Source maps seem broken
#1191 opened by matthias-ccri - 0
Mask fails on `interface aaa { foo: string; [key: string]: any }` interface with any key.
#1208 opened by oleg-slapdash - 6
- 3
- 2
Adding rest props for object-type
#1162 opened by vtrushin - 1
[Feature] Support for `Required`
#1178 opened by kevcao-certik - 2
Mixing `partial` and `type` negates effects of `partial`
#1170 opened by hgezim - 0
Unions of instances produce unhelpful error message
#1194 opened by matthew-dean - 0
- 1
[Feature] Discriminated unions (fast lookup)
#1183 opened by jakubwolny - 0
pattern (regex) does not return consistent output when using the global modifier
#1190 opened by brendonboshell - 5
Feature Request: Infer the other way.
#1159 opened by ivands - 0
- 0
Dynamic context property access
#1187 opened by andreisaikouski - 2
[Feature] `one of` or `or` type
#1182 opened by andreisaikouski - 0
- 0
Never type creates a typescript issue
#1186 opened by yannbriancon - 3
Generate struct from TS interface
#1173 opened by aldo-roman - 0
`size` on `array` uses a permissive type
#1184 opened by shellscape - 1
`intersection` flattens unions too much
#1180 opened by Gelio - 0
- 2
Impossible to `Describe` generic types with conditional
#1163 opened by dsluijk - 0
[Question|Feature] Add functions to an interface
#1176 opened by JoniJnm - 2
Example coercion does not work. Have I done it right ?
#1175 opened by houd1ni - 0
Type-tests do not check for strict types
#1174 opened by thoughtspile - 0
Add superstruct to the typia benchmarks
#1171 opened by gotjoshua - 5
Async Validation Support
#1137 opened by MentalGear - 0
The error types are different in the docs
#1169 opened by Jakeii - 2
[v1.0.3] Failed to parse source map from 'xxx/node_modules/superstruct/src/struct.ts' (ENOENT: no such file or directory)
#1154 opened by ArturBaybulatov - 0
Module parse failed: Unexpected token (18:27) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
#1157 opened by andorfermichael - 3
Expose generator validation
#1153 opened by ritave - 0
Missing documentation for shorthand `partial` usage
#1148 opened by arturmuller - 1
[CRITICAL] Unable to import superstruct
#1147 opened by Azarattum - 2
- 0
- 3
Breaking change was not declared as such
#1139 opened by maxadv - 0
- 0
`defaulted` options not documented
#1127 opened by nhagen - 1
No longer possible to coerce values to `undefined`
#1125 opened by benj-dobs - 0
Type mismatch when using `partial()`
#1123 opened by MrStrikes - 8
Error on using a simple example
#1111 opened by chuacw