From d3939f7a488c4bd7868237a7899a67e98bc0a79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Gr=C5=88o?= Date: Thu, 18 May 2023 18:00:12 +0200 Subject: [PATCH] Make props of ConnectionState optional (#7093) --- core/serialization/blocks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/serialization/blocks.ts b/core/serialization/blocks.ts index ca1db9852..308c748ba 100644 --- a/core/serialization/blocks.ts +++ b/core/serialization/blocks.ts @@ -37,8 +37,8 @@ import * as serializationRegistry from './registry.js'; * Represents the state of a connection. */ export interface ConnectionState { - shadow: State | undefined; - block: State | undefined; + shadow?: State; + block?: State; } /**