TypeScript And .parentNode vs .parentElement

added by JavaScript Kicks
11/26/2019 7:18:48 AM

359 Views

Ben Nadel discovers the Element.parentElement property of the DOM (Document Object Model), and is excited to start using it in TypeScript. This way, we can push more "truth" into the compiler and make his code just a little-bit safer to run.


0 comments