Skip to content

Commit

Permalink
Replace allowSyntheticDefaultImports with esModuleInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Dann authored Nov 9, 2019
1 parent 19882c6 commit 6b2f4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ module.exports = {
- import * as styles from './styles.css';
+ import styles from './styles.css';
```
- Add `allowSyntheticDefaultImports` TypeScript compiler option if there are type errors related to default imports
- Add `esModuleInterop` TypeScript compiler option if there are type errors related to default imports

## Support

Expand Down

0 comments on commit 6b2f4ab

Please sign in to comment.