Skip to content

Commit 81c3c93

Browse files
lishaduckntnyq
andauthored
fix: curly types (#19750)
Co-authored-by: ntnyq <ntnyq13@gmail.com>
1 parent 52f5b7a commit 81c3c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types/rules.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ export interface ESLintRules extends Linter.RulesRecord {
619619
* @see https://eslint.org/docs/latest/rules/curly
620620
*/
621621
curly: Linter.RuleEntry<
622-
["all" | "multi" | "multi-line" | "multi-or-nest" | "consistent"]
622+
["all"] | ["multi" | "multi-line" | "multi-or-nest", "consistent"?]
623623
>;
624624

625625
/**

0 commit comments

Comments
 (0)