tc39 / proposal-type-annotations

ECMAScript proposal for type syntax that is erased - Stage 1
https://tc39.es/proposal-type-annotations/
4.23k stars 46 forks source link

PORPOSAL is now Stage 3 - Landed in NodeJS Unexpectedly #222

Closed lemanschik closed 1 month ago

lemanschik commented 1 month ago

It got implemented unexpectedly they followed also the guide to not handle enum and interface

but they plan to maybe add that so at present it would be the correct implementation of this but it is not stable maybe some one can align that efforts.

lemanschik commented 1 month ago

This also enables us to lift this to stage 3 now as it already has adoption!!!

acutmore commented 1 month ago

Hi @lemanschik

For a proposal to get to a certain stage it also needs to have met the requirements of the prior stages, and then only advances to the next stage if there is consensus.

https://tc39.es/process-document/

There can't be official implementations of this proposal yet because it does not yet have a stage 2.7 specification. So the proposal is still at stage 1.

lemanschik commented 1 month ago

@acutmore ok you can see it as you want we can then also simple close this proposal as when it now lands in chrome and graaljs we got 3 implementations so no one will advance the proposal anymore.

lemanschik commented 1 month ago

maybe we should consider to update the whole tc39 process and take care of edge cases like this where the implementation is done before the proposal is finished.

ljharb commented 1 month ago

The node implementation isn’t done, is experimental, and can’t actually match whatever might advance here (and thus in browsers).

robpalme commented 1 month ago

Thanks for the note, Frank.

The champions have been in contact with the Node folks for the last few weeks (see the Node meeting recordings on YouTube) so we already have awareness and comms going on.

Given the issue title is misleading - advancement is solely a TC39 committee decision - I'm going to close this now.