Requires compilerOptions.esModuleInterop
in tsconfig.json
to be set to true
.
This rule is fixable using the --fix
option.
{
"compilerOptions": {
"esModuleInterop": true
}
}
{
"compilerOptions": {
"esModuleInterop": false
}
}
{
"compilerOptions": {}
}
{}