Skip to content

Commit

Permalink
feat(experimental-utils): add default [] for RuleModule TOptions gene…
Browse files Browse the repository at this point in the history
…ric (#4135)
  • Loading branch information
Josh Goldberg committed Nov 14, 2021
1 parent 77baa92 commit 62b8098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/experimental-utils/src/ts-eslint/Rule.ts
Expand Up @@ -429,7 +429,7 @@ interface RuleListener {

interface RuleModule<
TMessageIds extends string,
TOptions extends readonly unknown[],
TOptions extends readonly unknown[] = [],
// for extending base rules
TRuleListener extends RuleListener = RuleListener,
> {
Expand Down

0 comments on commit 62b8098

Please sign in to comment.