Skip to content

Commit 0a0ea6f

Browse files
authored
fix: Update RuleDefinition type (eslint#138)
1 parent dd8d161 commit 0a0ea6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,9 @@ export interface RuleDefinitionTypeOptions {
450450
/**
451451
* The definition of an ESLint rule.
452452
*/
453-
export interface RuleDefinition<Options extends RuleDefinitionTypeOptions> {
453+
export interface RuleDefinition<
454+
Options extends RuleDefinitionTypeOptions = RuleDefinitionTypeOptions,
455+
> {
454456
/**
455457
* The meta information for the rule.
456458
*/

0 commit comments

Comments
 (0)