Skip to content

Releases: T99/typit

Inline Documentation Finished

16 Jun 17:22
@T99 T99
Compare
Choose a tag to compare
v0.6.3

Added license section to readme.

Initial Release

12 Jun 02:03
@T99 T99
Compare
Choose a tag to compare

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.
  • StandardType
    • An enumeration of standard types, including...
      • StandardType.NUMBER
      • StandardType.BOOLEAN
      • StandardType.STRING
  • SpecialType
    • An enumeration of special types, including...
      • SpecialType.ANY
      • SpecialType.VOID
      • SpecialType.UNDEFINED
      • SpecialType.NULL
  • 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. ObjectTypeDefinitions are interface implementations that allow typechecking of complex object structures.
  • OptionalType
    • This is an experimental (not yet fully functional) type class that is meant to provide 'optional' support for ObjectTypeDefinitions.

Find this version on NPM.