Closed hugmanrique closed 3 years ago
The purpose of nextElementSibling is to return an HTMLElement, not any kind of Node (DOM standard). The .tsconfig disables strict null-checking, so I forgo adding the null return type.
nextElementSibling
HTMLElement
Node
.tsconfig
null
https://github.com/taoqf/node-html-parser/releases/tag/v3.3.3
The purpose of
nextElementSibling
is to return anHTMLElement
, not any kind ofNode
(DOM standard). The.tsconfig
disables strict null-checking, so I forgo adding thenull
return type.