Skip to content

v3.0.4

Compare
Choose a tag to compare
@gvergnaud gvergnaud released this 16 Mar 18:17

Bug fix on exhaustive checking for readonly tuple patterns containing a wildcard pattern. These patterns were never considered exhaustive, unless using __ to match the whole input. Examples of impacted patterns: readonly [__, "hello", 2] or readonly [{ x: 0 }, __].