Hacker News new | ask | show | jobs
by egeozcan 3741 days ago
From Ryan Cavanaugh's comment[1]:

> (...) there's already the let keyword available for those who want saner scoping rules. We should definitely update the docs to use let everywhere, though.

[1]: https://github.com/Microsoft/TypeScript/issues/5822#issuecom...

1 comments

Yes, however that was 3 and a half months ago -- and as far as I can tell, there's been no movement towards doing so.
It's been fixed for a few months in the Handbook repo (https://github.com/Microsoft/TypeScript-Handbook/pull/119/fi...), but the new updated Handbook hasn't been pushed to the website yet.