From 2706b1a83856c2364eaff16867b1b6d5cb631a16 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 23 Aug 2018 12:43:40 +0200 Subject: [PATCH] test: correct type for selector function The hot() function will create an Observable that emits strings from marble diagrams (even if the strings contain numbers). So the type of x should be string, not number. --- spec/operators/zipAll-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/operators/zipAll-spec.ts b/spec/operators/zipAll-spec.ts index f558268d14..6b8d0af1c1 100644 --- a/spec/operators/zipAll-spec.ts +++ b/spec/operators/zipAll-spec.ts @@ -231,7 +231,7 @@ describe('zipAll operator', () => { const b = [4, 5, 6]; const expected = '---x--#'; - const selector = function (x: number, y: number) { + const selector = function (x: string, y: number) { if (y === 5) { throw new Error('too bad'); } else {