Skip to content

Commit

Permalink
docs: add note about no-deprecated with TypeScript (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgant authored Jan 17, 2025
1 parent f87804d commit bf49621
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/rules/no-deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ settings:
import-x/docstyle: ['jsdoc', 'tomdoc']
```
## When Not To Use It
TypeScript supports [multiple function signatures](https://www.typescriptlang.org/docs/handbook/2/functions.html#function-overloads)
where only some of signatures can be deprecated. This rule does not support this
configuration. Consider using [`@typescript-eslint/no-deprecated`](https://typescript-eslint.io/rules/no-deprecated/)
instead.

## Worklist

- [x] report explicit imports on the import node
Expand Down

0 comments on commit bf49621

Please sign in to comment.