Docs: no-unnecessary-type-constraint should mention extending unknown #6973
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
documentation
Documentation ("docs") that needs adding/updating
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Documentation Request Please Confirm You Have Done The Following...
Suggested Changes
@MichaelDeBoey raises an excellent point in remix-run/remix#6248 (comment):
Agreed - we should update the docs. They should mention when
extends unknown
is unnecessary, and include at least one or two examples in the code blocks. Accepting PRs!Affected URL(s)
https://typescript-eslint.io/rules/no-unnecessary-type-constraint/
The text was updated successfully, but these errors were encountered: