Skip to content

Improve generated type for anyOf constraints

Choose a tag to compare

@ianhoffman ianhoffman released this 26 Apr 18:00
· 36 commits to master since this release
a1afe6c
  • #67: Generate "Union" Types for anyOf Constraint. Supports inferring the lowest upper bound type for anyOf constraints. Does not yet handle shapes or dicts, but does handle arraykeys, vecs and nums. Introduces a Typing namespace as a foundation atop which to build more complex type inference.