Skip to content

Commit 2738322

Browse files
authored
fix: add missing types for require-atomic-updates rule (#18937)
1 parent d71ff30 commit 2738322

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
@@ -593,7 +593,17 @@ export interface PossibleErrors extends Linter.RulesRecord {
593593
* @since 5.3.0
594594
* @see https://eslint.org/docs/rules/require-atomic-updates
595595
*/
596-
"require-atomic-updates": Linter.RuleEntry<[]>;
596+
"require-atomic-updates": Linter.RuleEntry<
597+
[
598+
Partial<{
599+
/**
600+
* @since 8.3.0
601+
* @default false
602+
*/
603+
allowProperties: boolean;
604+
}>,
605+
]
606+
>;
597607

598608
/**
599609
* Rule to require calls to `isNaN()` when checking for `NaN`.

0 commit comments

Comments
 (0)