From a1be04aaef04b7efe8fd046e2e02a34c322ea97c Mon Sep 17 00:00:00 2001 From: partouf Date: Sat, 24 Feb 2024 20:13:14 +0100 Subject: [PATCH] fix default --- static/panes/ast-view.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/panes/ast-view.ts b/static/panes/ast-view.ts index 61faac109..1e24d5ea7 100644 --- a/static/panes/ast-view.ts +++ b/static/panes/ast-view.ts @@ -61,7 +61,7 @@ export class Ast extends MonacoPane = undefined; - astCode: AstCodeEntry[] = []; + astCode?: AstCodeEntry[] = undefined; linkedFadeTimeoutId?: NodeJS.Timeout = undefined; constructor(hub: Hub, container: Container, state: AstState & MonacoPaneState) { @@ -134,7 +134,7 @@ export class Ast extends MonacoPane