Closed zsakowitz closed 2 years ago
Thank you!
I just tried to download the latest version (v16.3.3) and it doesn't have the fix. Can you double-check that you've uploaded it?
My bad. I forgot that this file is generated from index.d.ts.template — so as soon as I ran the release, it overwrote the changes. I just landed a proper fix and did a new release (v16.3.4).
Thanks for pointing out the mistake!
Oops. Sorry about that! Thanks for patching it properly and being so quick to respond.
Currently, Node.isOptional is a function returning a boolean, but the typings show it as a property, not a method. Changing it to a method would help many TypeScript users, and I'm running into issues using this function myself.