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