You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript will refuse to allow Application to be called when esModuleInterop is true:
A namespace-style import cannot be called or constructed, and will cause a failure at runtime.
I don't have my head around it enough to understand if that means that the library should or can be adjusted to make it work, or if it means that it inherently can't build sensible code when esModuleInterop is true. In my case, my project was fine turning it off, but it would be useful to have a note in the Readme, since the problem was hard to track down.
The text was updated successfully, but these errors were encountered:
TypeScript will refuse to allow
Application
to be called whenesModuleInterop
istrue
:I don't have my head around it enough to understand if that means that the library should or can be adjusted to make it work, or if it means that it inherently can't build sensible code when
esModuleInterop
istrue
. In my case, my project was fine turning it off, but it would be useful to have a note in the Readme, since the problem was hard to track down.The text was updated successfully, but these errors were encountered: