`dnt` incompatible with `addEventListener`?
I am using the log/mod.ts module from deno_std and running
dntdnt with no special configuration as far as I know, why doesn't this just work? Some Node.js shim missing?src/deps/deno.land/std@0.189.0/log/handlers.ts:153:5 - error TS2304: Cannot find name 'addEventListener'.
153 addEventListener("unload", this.#unloadCallback);
~~~~~~~~~~~~~~~~
src/deps/deno.land/std@0.189.0/log/handlers.ts:182:5 - error TS2304: Cannot find name 'removeEventListener'.
182 removeEventListener("unload", this.#unloadCallback);
~~~~~~~~~~~~~~~~~~~
error: Uncaught Error: Had 3 diagnostics.
throw new Error(`Had ${diagnostics.length} diagnostics.`);
^
at getProgramAndMaybeTypeCheck (https://deno.land/x/dnt@0.36.0/mod.ts:446:17)
at build (https://deno.land/x/dnt@0.36.0/mod.ts:339:17)
at eventLoopTick (ext:core/01_core.js:182:11)
at async file:///.../my_project/scripts/build_npm.ts:17:1src/deps/deno.land/std@0.189.0/log/handlers.ts:153:5 - error TS2304: Cannot find name 'addEventListener'.
153 addEventListener("unload", this.#unloadCallback);
~~~~~~~~~~~~~~~~
src/deps/deno.land/std@0.189.0/log/handlers.ts:182:5 - error TS2304: Cannot find name 'removeEventListener'.
182 removeEventListener("unload", this.#unloadCallback);
~~~~~~~~~~~~~~~~~~~
error: Uncaught Error: Had 3 diagnostics.
throw new Error(`Had ${diagnostics.length} diagnostics.`);
^
at getProgramAndMaybeTypeCheck (https://deno.land/x/dnt@0.36.0/mod.ts:446:17)
at build (https://deno.land/x/dnt@0.36.0/mod.ts:339:17)
at eventLoopTick (ext:core/01_core.js:182:11)
at async file:///.../my_project/scripts/build_npm.ts:17:1