UNPKG

@metamask/superstruct

Version:

A simple and composable way to validate data in JavaScript (and TypeScript).

1 lines 794 B
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,+CAA4B;AAC5B,0DAAuC;AACvC,4DAAyC;AACzC,sDAAmC;AACnC,0DAAuC","sourcesContent":["export * from './error.js';\nexport * from './struct.js';\nexport * from './structs/coercions.js';\nexport * from './structs/refinements.js';\nexport * from './structs/types.js';\nexport * from './structs/utilities.js';\nexport type {\n AnyStruct,\n Assign,\n EnumSchema,\n If,\n InferStructTuple,\n IsExactMatch,\n IsMatch,\n IsRecord,\n IsTuple,\n IsUnion,\n ObjectSchema,\n ObjectType,\n OmitBy,\n Optionalize,\n PartialObjectSchema,\n PickBy,\n Simplify,\n ExactOptionalize,\n StructSchema,\n TupleSchema,\n UnionToIntersection,\n} from './utils.js';\n"]}