Allow generic defaults for TSESLint.RuleModule? #4134
Labels
package: utils
Issues related to the @typescript-eslint/utils package
triage
Waiting for maintainers to take a look
I have tried restarting my IDE and the issue persists.N/ARepro
Going off the code snippet here: #4124 (comment)
This gives an error [playground link]:
Although I personally would use
RuleCreator
, or failing that specify thoseTMessageIds
andTOptions
type arguments, it is inconvenient for folks getting started with writing rules to have to specify them. It would make for smoother documentation if we didn't have to walk people through setting them up until they're needed.Proposal:
Versions
@typescript-eslint/experimental-utils
5.3.1
TypeScript
node
The text was updated successfully, but these errors were encountered: