Skip to content

Commit

Permalink
fix: allow redeclare overloads in typescript (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Wejendorp authored Mar 16, 2022
1 parent 45b06ad commit b7db08e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ module.exports = {
}
],
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'warn'
'@typescript-eslint/no-useless-constructor': 'warn',
// allow overloading via redeclare
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': ['error']
}
}
]
Expand Down

0 comments on commit b7db08e

Please sign in to comment.