Use `Text.data` instead of `Text.nodeValue`
`nodeValue` is an alias for `data` in text nodes, but `data` is never null, which keeps TS happy.
Showing
Please register or sign in to comment
`nodeValue` is an alias for `data` in text nodes, but `data` is never null, which keeps TS happy.