Subject: typescript-ts-mode's defun definition is wrong

From: Daniel Colascione <[email-masked]>
Date: Sat, 29 Mar 2025 14:17:15 -0400

Not sure whether this is a bug or just surprising design, but in this
code:

    function Blah(foo) {
      const foo = 1;
      const bar = 2;
    }

with point on "const foo", I do not expect end-of-defun to go to "const
bar".  I expect it to go to the closing curly brace.