Skip to content

esModuleInterop does not implicitly enable allowSyntheticDefaultImports #26193

@ffxsam

Description

@ffxsam

TypeScript Version: 2.9.x and 3.x

Search Terms:
esmoduleinterop
esmoduleinterop allowsyntheticdefaultimports

Expected behavior:
Enabling esModuleInterop should also implicitly enable allowSyntheticDefaultImports, according to https://www.typescriptlang.org/docs/handbook/compiler-options.html

Actual behavior:
This is not the case, as per this issue: vuejs/vue-cli#2062

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedThe team has roadmapped this issueFixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions