Skip to content

Conversation

@zfben
Copy link
Contributor

@zfben zfben commented Nov 11, 2021

Let ProgressEvent optional

Percent is the only needed attribute.
@vercel
Copy link

vercel bot commented Nov 11, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/upload/4CS38YaQXg8Pt1jfx3VwXG5tYaQ8
✅ Preview: https://upload-git-fork-zfben-patch-1-react-component.vercel.app

@codecov
Copy link

codecov bot commented Nov 11, 2021

Codecov Report

Merging #360 (0a1d0d2) into master (21027b7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #360   +/-   ##
=======================================
  Coverage   84.92%   84.92%           
=======================================
  Files           6        6           
  Lines         252      252           
  Branches       63       63           
=======================================
  Hits          214      214           
  Misses         38       38           

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 21027b7...0a1d0d2. Read the comment docs.

@zfben zfben changed the title Let ProgressEvent only require percent Let ProgressEvent optional Nov 11, 2021
@xrkffgg
Copy link
Member

xrkffgg commented Dec 6, 2021

这个 是啥场景?

@afc163
Copy link
Member

afc163 commented Dec 6, 2021

解决什么问题,能描述一下么?

@zfben
Copy link
Contributor Author

zfben commented Dec 6, 2021

@xrkffgg @afc163 当使用 customRequest 来定义进度的时候,ts定义要求填写完整的 request 格式,但其实不需要那么多字段,所以把字段都改成可选就可以正常使用了

@afc163 afc163 merged commit 107e082 into react-component:master Dec 6, 2021
@zombieJ
Copy link
Member

zombieJ commented Dec 7, 2021

antd 的定义挂了

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.

4 participants