Skip to content

Commit

Permalink
Merge pull request #389 from dutzi/patch-1
Browse files Browse the repository at this point in the history
Update README, explaining to how ignore typed imports on .tsx files
  • Loading branch information
PabloLION authored Oct 22, 2023
2 parents c2191a1 + 5186342 commit 477565b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,11 +452,16 @@ Put this in your madge config.
"detectiveOptions": {
"ts": {
"skipAsyncImports": true
},
"tsx": {
"skipAsyncImports": true
}
}
}
```

Note: `tsx` is optional, use this when working with JSX.

## Mixing TypesScript and Javascript imports?

Ensure you have this in your `.tsconfig` file.
Expand Down

0 comments on commit 477565b

Please sign in to comment.