Open
Description
TypeScript 5.8 added a new compiler option named erasableSyntaxOnly
. This option is somewhat of a collaboration with the Node core team as it disallows TypeScript syntax that Node's type stripping does not support.
There are currently 49 errors reported when enabling this option, which is why I'm opening an issue instead of a PR.
If we don't want to work toward enabling it, that's fine, and we can carry on with the status quo. If we do want to enable it, it would lead to a future where we no longer need to transpile for anything except npm publish
and running the transpiled tests in the CI.
Metadata
Metadata
Assignees
Labels
No labels