Releases: T99/typit
Releases · T99/typit
Inline Documentation Finished
Initial Release
This is the first working version to be live and available on NPM, including the following classes:
Type
- The main
Type
abstract class that all other typit classes extend.
- The main
StandardType
- An enumeration of standard types, including...
StandardType.NUMBER
StandardType.BOOLEAN
StandardType.STRING
- An enumeration of standard types, including...
SpecialType
- An enumeration of special types, including...
SpecialType.ANY
SpecialType.VOID
SpecialType.UNDEFINED
SpecialType.NULL
- An enumeration of special types, including...
ArrayType
- An array type allowing typechecking of arrays and array members.
ObjectType
- An object type allowing typechecking of complex, multi-level (recursing) JSON/objects.
ObjectTypeDefinition
- An object type definition to be used with instances of
ObjectType
.ObjectTypeDefinition
s are interface implementations that allow typechecking of complex object structures.
- An object type definition to be used with instances of
OptionalType
- This is an experimental (not yet fully functional) type class that is meant to provide 'optional' support for
ObjectTypeDefinition
s.
- This is an experimental (not yet fully functional) type class that is meant to provide 'optional' support for