![esModuleInterop + named export evaluated differently depends on usage · Issue #36149 · microsoft/TypeScript · GitHub esModuleInterop + named export evaluated differently depends on usage · Issue #36149 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/3254987/72215481-e5fe3580-34c7-11ea-8dbf-cd5fed98cf70.png)
esModuleInterop + named export evaluated differently depends on usage · Issue #36149 · microsoft/TypeScript · GitHub
![error : Module 'xxx' can only be default-imported using the 'esModuleInterop' flag #TypeScript - Qiita error : Module 'xxx' can only be default-imported using the 'esModuleInterop' flag #TypeScript - Qiita](https://qiita-user-contents.imgix.net/https%3A%2F%2Fcdn.qiita.com%2Fassets%2Fpublic%2Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png?ixlib=rb-4.0.0&w=1200&mark64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZoPTMzNiZ0eHQ9ZXJyb3IlMjAlM0ElMjBNb2R1bGUlMjAlMjd4eHglMjclMjBjYW4lMjBvbmx5JTIwYmUlMjBkZWZhdWx0LWltcG9ydGVkJTIwdXNpbmclMjB0aGUlMjAlMjdlc01vZHVsZUludGVyb3AlMjclMjBmbGFnJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmdHh0LWNsaXA9ZWxsaXBzaXMmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz0xMjY2NDE1MWQzYzhjYjFlNDg5MTEwOTU4NjQwMTI1NQ&mark-x=142&mark-y=112&blend64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwaGFyYXNob28mdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPTQ3YmY4ZDIyZTRlNTMzYTcwNzVmYjkzMzVhZTc3M2Fm&blend-x=142&blend-y=491&blend-mode=normal&s=0535546a94fbd45f2c0969964ad0ce04)
error : Module 'xxx' can only be default-imported using the 'esModuleInterop' flag #TypeScript - Qiita
![Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/61309161/177583526-f64bca40-f336-4cbe-9c79-784daa2d2a57.png)
Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub
![This module is declared with 'export =', and can only be used with a default import when using the '_this module is declared with 'export =', and can o-CSDN博客 This module is declared with 'export =', and can only be used with a default import when using the '_this module is declared with 'export =', and can o-CSDN博客](https://img-blog.csdnimg.cn/3c0e65885fb44a20b9bd62a8d3b6de8a.png)
This module is declared with 'export =', and can only be used with a default import when using the '_this module is declared with 'export =', and can o-CSDN博客
![Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/25522319/109956537-c5b3ba80-7d09-11eb-8341-206d04279806.png)
Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub
![Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub Option resolveJsonModule doesn't work without esModuleInterop · Issue #25400 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/25522319/109959051-f9441400-7d0c-11eb-83d7-040191bf0559.png)