From 4641988376b7b0047fa892616b569f532ba45a46 Mon Sep 17 00:00:00 2001 From: ctw-joao-luis Date: Fri, 18 Oct 2024 11:01:34 +0100 Subject: [PATCH] addded ? operator to make metadata possibly undefined --- packages/suite/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suite/src/index.ts b/packages/suite/src/index.ts index bdb7616632..e5edf99a3c 100644 --- a/packages/suite/src/index.ts +++ b/packages/suite/src/index.ts @@ -289,7 +289,7 @@ export type PanelExtensionContext = { * An array of metadata entries. Each entry includes a name and a map of key-value pairs * representing the metadata associated with that name (only avaiable in MCAP files). */ - readonly metadata: ReadonlyArray>; + readonly metadata?: ReadonlyArray>; /** * Subscribe to updates on this field within the render state. Render will only be invoked when