I'm not sure what the reason was to remove Element and Node types, so this PR might be uncalled for.
My projects already have "dom" added to the compilerOptions so I needed this anyway, so I figured I might as well submit a PR.
I reckon any project using puppeteer will benefit from adding dom types to the compiler options anyway, and deno doesn't type check remote modules in deno run by default since 1.22. So I don't think there should be any issues in bringing these types back.
I'm not sure what the reason was to remove
Element
andNode
types, so this PR might be uncalled for. My projects already have"dom"
added to the compilerOptions so I needed this anyway, so I figured I might as well submit a PR.I reckon any project using puppeteer will benefit from adding dom types to the compiler options anyway, and deno doesn't type check remote modules in
deno run
by default since 1.22. So I don't think there should be any issues in bringing these types back.Fixes #54