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
{{ message }}
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
error: TS2322 [ERROR]: Type '(value: T | PromiseLike<T>) => void' is not assignable to type 'Resolve<T>'.
Types of parameters 'value' and 'value' are incompatible.
Type 'T | PromiseLike<T> | undefined' is not assignable to type 'T | PromiseLike<T>'.
Type 'undefined' is not assignable to type 'T | PromiseLike<T>'.
methods = { resolve, reject }
~~~~~~~
at https://deno.land/x/pgc4d@v1.3.6/src/utils.ts:21:25
The expected type comes from property 'resolve' which is declared here on type '{ resolve: Resolve<T>; reject: Reject; }'
let methods: { resolve: Resolve<T>, reject: Reject }
~~~~~~~
at https://deno.land/x/pgc4d@v1.3.6/src/utils.ts:19:24
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Importing the package errors in Deno 1.6.
Output of
deno --version
:And here is the error message:
The text was updated successfully, but these errors were encountered: