Skip to content

v2.1.1

Choose a tag to compare

@gvergnaud gvergnaud released this 04 Feb 08:57
ff74bca

This patch contains some small type checking perf improvements:

  • Only recurse on plain objects, not builtin ones like Error, Date, RegExp, Function, etc.
  • Stop recursion after 4 level of nesting in DistributeUnions to avoid unnecessarily traversing huge data structures looking for union types.