-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type incompatibility with Deno 1.20.1 #164
Comments
I fixed it temporarily by replacing |
Yeah seems types just slightly mismatching now. ListenTlsOptions have all pertinent keys as optional https://doc.deno.land/deno/stable/~/Deno.ListenTlsOptions which is inherited by opine’s HTTPSOptions https://github.com/cmorten/opine/blob/main/src/types.ts#L22 so isTls isn’t quite cutting it anymore. Think solution would be to adjust HTTPSOptions defined in opine’s types to have the key and cert keys as non-optional. |
Ok, fine, that's what I thought, thanks. |
Sorry, what's the fix here? I'm getting this error with opine 2.1.4 AFAIK the latest version. |
@cawoodm what is the error you are seeing? The fix for this issue was to use latest opine on latest deno ( If you're still facing issues, feel free to raise a new issue with the error you are seeing |
Issue
Setup:
Details
There is a type incompatibility with Deno 1.20.1 for listenAndServeTls :
The text was updated successfully, but these errors were encountered: