Axel Rauschmayer on Nostr: Feature in next week’s #TypeScript 5.8 Beta: --erasableSyntaxOnly • Pull request: ...
Feature in next week’s #TypeScript 5.8 Beta: --erasableSyntaxOnly
• Pull request: https://github.com/microsoft/TypeScript/pull/61011
• Description (with an old name): https://github.com/microsoft/TypeScript/issues/59601#issuecomment-2294010520
Forbids non-type syntax that isn’t JavaScript—e.g. enums and namespaces.
Use case: TypeScript support in Node.js. https://2ality.com/2025/01/nodejs-strip-type.html
/via nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq502fjayygvf37fw4uzvuphwas4jn6cma9d88578vjk7g7jddnh3sg85u7e (nprofile…5u7e)
• Pull request: https://github.com/microsoft/TypeScript/pull/61011
• Description (with an old name): https://github.com/microsoft/TypeScript/issues/59601#issuecomment-2294010520
Forbids non-type syntax that isn’t JavaScript—e.g. enums and namespaces.
Use case: TypeScript support in Node.js. https://2ality.com/2025/01/nodejs-strip-type.html
/via nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq502fjayygvf37fw4uzvuphwas4jn6cma9d88578vjk7g7jddnh3sg85u7e (nprofile…5u7e)