Do this for next major version if the feature stabilizes in Node.js v24. This should be relevant for src and test files. https://satanacchio.hashnode.dev/everything-you-need-to-know-about-nodejs-type-stripping https://nodejs.org/docs/latest/api/typescript.html#type-stripping