Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd715781

Browse files
authored
fix: add missing types forno-extra-boolean-cast options (#18902)
1 parente4e02cc commitd715781

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,30 @@ export interface PossibleErrors extends Linter.RulesRecord {
251251
*@since 0.4.0
252252
*@see https://eslint.org/docs/rules/no-extra-boolean-cast
253253
*/
254-
"no-extra-boolean-cast":Linter.RuleEntry<[]>;
254+
"no-extra-boolean-cast":Linter.RuleEntry<
255+
[
256+
|Partial<{
257+
/**
258+
*@since 9.3.0
259+
*@default false
260+
*/
261+
enforceForInnerExpressions:boolean;
262+
/**
263+
*@deprecated
264+
*/
265+
enforceForLogicalOperands:never;
266+
}>
267+
|Partial<{
268+
/**
269+
*@deprecated
270+
*@since 7.0.0-alpha.2
271+
*@default false
272+
*/
273+
enforceForLogicalOperands:boolean;
274+
enforceForInnerExpressions:never;
275+
}>,
276+
]
277+
>;
255278

256279
/**
257280
* Rule to disallow unnecessary parentheses.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp