Skip to content

Commit 561cadc

Browse files
authored
fix: add missing types for no-unsafe-negation rule (#18932)
1 parent 8843656 commit 561cadc

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

lib/types/rules/possible-errors.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,17 @@ export interface PossibleErrors extends Linter.RulesRecord {
552552
* @since 3.3.0
553553
* @see https://eslint.org/docs/rules/no-unsafe-negation
554554
*/
555-
"no-unsafe-negation": Linter.RuleEntry<[]>;
555+
"no-unsafe-negation": Linter.RuleEntry<
556+
[
557+
Partial<{
558+
/**
559+
* @since 6.6.0
560+
* @default false
561+
*/
562+
enforceForOrderingRelations: boolean;
563+
}>,
564+
]
565+
>;
556566

557567
/**
558568
* Disallow use of optional chaining in contexts where the `undefined` value is not allowed.

0 commit comments

Comments
 (0)