Skip to content

Commit

Permalink
fix: add .d.ts extension to import/resolver rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-a-young committed Nov 3, 2021
1 parent c80454a commit 16ae71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser.js
Expand Up @@ -26,7 +26,7 @@ module.exports = {
// Append 'ts' extensions to Airbnb 'import/resolver' setting
'import/resolver': {
node: {
extensions: ['.mjs', '.js', '.ts', '.tsx', '.json', '.jsx'],
extensions: ['.mjs', '.js', '.ts', '.tsx', '.d.ts', '.json', '.jsx'],
},
},
// Append 'ts' extensions to Airbnb 'import/extensions' setting
Expand Down

0 comments on commit 16ae71b

Please sign in to comment.