You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run deno check --import-map=vendor/import_map.json main.ts
Expected: No errors
Actual: Errors are reported for postgresjs:
Check file:///<redacted>/main.ts
error: TS2367 [ERROR]: This comparison appears to be unintentional because the types 'rmdirOptions | undefined' and 'boolean' have no overlap.
if (options === false) {
~~~~~~~~~~~~~~~~~
at file:///<redacted>/vendor/deno.land/[email protected]/node/_fs/_fs_rmdir.ts:82:9
For some reason I cant use this library in deno due to this error:
TypeError: globalThis.addEventListener is not a function
at new Process (https://deno.land/[email protected]/node/process.ts:194:16)
at https://deno.land/[email protected]/node/process.ts:357:76
Steps to reproduce:
deno vendor main.ts
deno check --import-map=vendor/import_map.json main.ts
Expected: No errors
Actual: Errors are reported for postgresjs:
Environment:
Since the type checking error occurs in the std lib, I assume updating to a newer Deno std lib version will resolve the error.
The text was updated successfully, but these errors were encountered: