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
Issue: As I mentioned in microsoft/TypeScript#41139 (comment) anyone using the new "module": "node16" or "module": "nodenext" will have their esModuleInterop default to true, but the docs does not mention this fact, it instead simply writes:
By default (with esModuleInterop false or not set)
Recommended Fix: Add a Default: section in the right sidebar like there is for eg. allowSyntheticDefaultImports:
Default: true if module is node16 or nodenext, else not set
Also, reword the By default (with esModuleInterop false or not set) to mention that esModuleInterop will sometimes be true even when not explicitly set.
Can I do a PR? I would love to, but I couldn't figure out where the data for the Default: part in the sidebar comes from.
The text was updated successfully, but these errors were encountered:
Page URL: https://www.typescriptlang.org/tsconfig#esModuleInterop
Issue: As I mentioned in microsoft/TypeScript#41139 (comment) anyone using the new
"module": "node16"
or"module": "nodenext"
will have theiresModuleInterop
default totrue
, but the docs does not mention this fact, it instead simply writes:Recommended Fix: Add a
Default:
section in the right sidebar like there is for eg.allowSyntheticDefaultImports
:Also, reword the
By default (with esModuleInterop false or not set)
to mention thatesModuleInterop
will sometimes betrue
even when not explicitly set.Can I do a PR? I would love to, but I couldn't figure out where the data for the
Default:
part in the sidebar comes from.The text was updated successfully, but these errors were encountered: