From 3eee9bd9f8f165b5521ecf8ee6edc45a77271c00 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 21 Mar 2023 20:59:09 +0100 Subject: [PATCH] docs: improve typing --- Logic/ElementStorage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/ElementStorage.ts b/Logic/ElementStorage.ts index 49213b99f..8d9723f8e 100644 --- a/Logic/ElementStorage.ts +++ b/Logic/ElementStorage.ts @@ -38,7 +38,7 @@ export class ElementStorage { return es } - getEventSourceById(elementId): UIEventSource { + getEventSourceById(elementId): UIEventSource | undefined { if (elementId === undefined) { return undefined }