runtime-type-checking

This is a demo for various ways to do runtime type checking in a typescript / nodejs project. Example model with space objects stolen from runtypes documentation

*See commit history*

  1. plain typeguards
  2. joi
  3. runtypes
  4. runtypes with inference
  5. json schema
  6. json schema generated from ts
  7. bonus: use generated json-schema with swagger