I'm making an npm package which uses ora. To use ora, I switched to NodeNext module resolution. After doing that, the type checking for commander stopped working. I think package.json needs to be updated to be compatible with NodeNext module resolution.
Here is the guide to by the author of ora: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c.
Here is some related TypeScript documentation: https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#esm-nodejs