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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Since you're using module: esnext, you shouldn't even need esModuleInterop, right @weswigham? allowSyntheticDefaultImports should provide the appropriate error messages for an import * as foo when it definitely won't work.
350f77b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're using
module: esnext
, you shouldn't even needesModuleInterop
, right @weswigham?allowSyntheticDefaultImports
should provide the appropriate error messages for animport * as foo
when it definitely won't work.350f77b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They don't quite infer one another. You need the interop flag for the new error - we hid it behind it