News for hackers. Stuff that matters.
Re:Go 1.22 Release Notes by norman784 on Wednesday February 07, 2024 @03:33AM (#39286002)
Do you know if the Javascript type annotations is progressing? I didn't hear anything after the initial proposal.
Re:Go 1.22 Release Notes by miningape on Wednesday February 07, 2024 @05:00AM (#39286603)
I don't have the source at hand but I remember seeing that they wouldn't support it until it had progressed as a JavaScript proposal. Their reasoning was that the decorations API is really weak, and it will likely be changed meaning a complete rewrite of the TypeScript decorator implementations.
Re:Go 1.22 Release Notes by jiripospisil on Wednesday February 07, 2024 @06:53AM (#39287419)
They held a meeting a few months ago so it's alive but probably still years away.

https://github.com/tc39/proposal-type-annotations/issues/184