TypeScript Support: Enhance the TypeScript experience by simplifying types and fixing typing issues related to web streams and TransformStream. This ensures better compatibility and fewer errors when using TypeScript with Execa.
Documentation: Add a new section in the Troubleshooting guide for TypeScript users, addressing common issues with ES modules setup. This helps users avoid common pitfalls when configuring their projects.
Fixes
Fix the return type when using the reject: false option in Execa, ensuring that the result is correctly typed and usable in TypeScript.
Resolve a complexity bug in TypeScript that caused errors when using Execa with TypeScript 5.1 or later. This improves the overall stability and usability of the library.