From c21cb020de88fe0384fdfd282047a12daf24543f Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Fri, 17 Nov 2023 10:53:05 -0500 Subject: [PATCH] Fix null error in tests. --- app/services/streaming/streaming.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/streaming/streaming.ts b/app/services/streaming/streaming.ts index d6ccfeb83d5c..81d15cb02864 100644 --- a/app/services/streaming/streaming.ts +++ b/app/services/streaming/streaming.ts @@ -126,8 +126,8 @@ export class StreamingService private resolveStartStreaming: Function = () => {}; private rejectStartStreaming: Function = () => {}; - private horizontalRecording: ISimpleRecording | IAdvancedRecording = null; - private verticalRecording: ISimpleRecording | IAdvancedRecording = null; + private horizontalRecording: ISimpleRecording | IAdvancedRecording | null = null; + private verticalRecording: ISimpleRecording | IAdvancedRecording | null = null; static initialState: IStreamingServiceState = { streamingStatus: EStreamingState.Offline,