docs: improve typing

This commit is contained in:
Pieter Vander Vennet 2023-03-21 20:59:09 +01:00
parent 0dcc20f20b
commit 3eee9bd9f8

View file

@ -38,7 +38,7 @@ export class ElementStorage {
return es return es
} }
getEventSourceById(elementId): UIEventSource<any> { getEventSourceById(elementId): UIEventSource<any> | undefined {
if (elementId === undefined) { if (elementId === undefined) {
return undefined return undefined
} }