Skip to content

WIP: [client] Add checks against null when manipulating DOM nodes.

Antoine requested to merge ZeHiro/kresus:ts-check-non-null-node into master

This MR ensures that when we access DOM nodes, they are non-null. This fixes 16 tsc errors.

I didn't add a any action when the found DOM node is null, but this could be easily done: what should we do then ? Throw an error ? Just warn with a notify.error ? An alert ?

Edited by Antoine

Merge request reports