Skip to content

Commit

Permalink
fix(typescript): lookup for external modules in @types folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovieira committed Oct 29, 2019
1 parent 112a0bf commit 4fb469b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {

settings: {
'import/extensions': allExtensions,
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx', '.d.ts'],
},
Expand Down

0 comments on commit 4fb469b

Please sign in to comment.