Skip to content

Releases: Maluscat/runtime-type-check

v1.1.1

10 Nov 17:07
Compare
Choose a tag to compare
  • Fix Cond.array and Cond.object not being sufficiently typed

v1.1.0

10 Nov 17:02
Compare
Choose a tag to compare
  • Fix the first argument of Cond.object not being optional
  • Make Cond.object and Cond.array themselves into their own base conditions
    • Thus, Cond.object and Cond.array can now be used as an alias to Cond.object() and Cond.array() respectively
  • Remove Cond.nonnegative and Cond.range and document them in the README for easy copy pasting
    • This is because the library should be kept as lightweight as possible and those two conditions were rather niche