From 4007c4658b2aa835f19e644a3c6ae523b405b8a5 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 10 May 2024 00:03:34 +0700 Subject: [PATCH] Update consistent-empty-array-spread.md --- docs/rules/consistent-empty-array-spread.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/consistent-empty-array-spread.md b/docs/rules/consistent-empty-array-spread.md index 3835dec97a..3a5264705d 100644 --- a/docs/rules/consistent-empty-array-spread.md +++ b/docs/rules/consistent-empty-array-spread.md @@ -7,7 +7,7 @@ -When spreading a ternary in array, we can use both `[]` and `''` as fallback, but it's nicer to have consistent type in "consequent" and "alternate". +When spreading a ternary in an array, we can use both `[]` and `''` as fallbacks, but it's better to have consistent types in both branches. ## Fail