Skip to content

v5.12.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 16:25

Minor Changes

Patch Changes

  • #224 aaeb3fd Thanks @DylanPiercey! - Fix a spurious "Mismatched group" error when a > (or other comparison) appears in the body of a statement function that declares a return type, e.g.:

    export function a(): b {
      return c > d;
    }

    Previously the type-parsing state from the return type annotation leaked into the function body, so a > was treated as a closing generic bracket. A { that follows a completed type now correctly ends the annotation and parses the block as a value.