Skip to content
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

fix(#10200): weaken types so non-breaking #10205

Merged
merged 2 commits into from
Apr 16, 2021

Conversation

kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Apr 16, 2021

Fixes #10200 by widening the type accepted by Deno.startTls(). There is an extra runtime guard to compensate for the weakend types.

@kitsonk kitsonk merged commit 9c7c9a3 into denoland:main Apr 16, 2021
@kitsonk kitsonk deleted the fix_addr_non_breaking branch April 16, 2021 12:34
kitsonk added a commit to kitsonk/deno that referenced this pull request Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.9.0 Deno.connect() types the connection to Conn<NetAddr> making code incompatible
2 participants