From 5bee7d23a91c82b92b3d9136213e018d3a868b5a Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Fri, 27 Oct 2023 15:49:32 -0500 Subject: [PATCH] chore: fix lint --- packages/rxjs/spec/helpers/observableMatcher.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/rxjs/spec/helpers/observableMatcher.ts b/packages/rxjs/spec/helpers/observableMatcher.ts index 7858836547..8ecfd78f16 100644 --- a/packages/rxjs/spec/helpers/observableMatcher.ts +++ b/packages/rxjs/spec/helpers/observableMatcher.ts @@ -165,10 +165,14 @@ function isSubscriptionLogArray(input: unknown): input is SubscriptionLog[] { } function isArrayOf(input: unknown, propName: keyof T): input is T[] { - if (!Array.isArray(input)) return false; + if (!Array.isArray(input)) { + return false; + } // An empty array could match any type of array. - if (input.length === 0) return true; + if (input.length === 0) { + return true; + } const first = input[0]; return typeof first === 'object' && first && propName in first;