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

support node20 with fetch that must use duplex of requestInit #4

Merged
merged 1 commit into from
May 6, 2023

Conversation

taotto
Copy link
Contributor

@taotto taotto commented May 6, 2023

requestInit之所以单独拎出来,ts检查requestInit 类型中不应该包含 duplex,实际上ts应该支持了,改了ts版本不好使。

参考:
nodejs/node#46221
https://github.com/bluesky-social/atproto/pull/470/files
microsoft/TypeScript-DOM-lib-generator#1483

@otakustay otakustay merged commit 7d2a320 into otakustay:master May 6, 2023
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.

2 participants