Skip to content

Commit

Permalink
[bugfix] Enable synthetic default imports in TypeScript config (#43747)
Browse files Browse the repository at this point in the history
Co-authored-by: MUI bot <[email protected]>
  • Loading branch information
morozow and Janpot authored Sep 14, 2024
1 parent 4bb9b33 commit a24c124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/data/material/guides/typescript/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ For types to work, it's recommended that you have at least the following options
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true
"strictNullChecks": true,
"allowSyntheticDefaultImports": true
}
}
```
Expand Down

0 comments on commit a24c124

Please sign in to comment.