node-modules / urllib

Request HTTP(s) URLs in a complex world.
MIT License
727 stars 117 forks source link

fix: add field to typescript declaration #335

Closed Jeff-Tian closed 2 years ago

Jeff-Tian commented 4 years ago

修复一个 TypeScript 声明文件,以解决在 TypeScript 项目中上传文件无法通过 TS 编译的问题:

image

才发现有个 PR: #334 也修了这个,不过这个 PR 增加了测试和修复了一个文档里的少掉的 } 。

codecov[bot] commented 4 years ago

Codecov Report

Merging #335 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #335   +/-   ##
=======================================
  Coverage   92.64%   92.64%           
=======================================
  Files           6        6           
  Lines         775      775           
  Branches      215      215           
=======================================
  Hits          718      718           
  Misses         57       57

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f6a03a5...4ddedbf. Read the comment docs.

fengmk2 commented 2 years ago

https://github.com/node-modules/urllib/pull/382