-
-
Notifications
You must be signed in to change notification settings - Fork 50k
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: fix type of action and RcFile #16851
Conversation
see #16850 |
Deploy preview for ant-design ready! Built with commit 81da6e9 |
Codecov Report
@@ Coverage Diff @@
## master #16851 +/- ##
==========================================
- Coverage 96% 95.96% -0.05%
==========================================
Files 263 263
Lines 7329 7329
Branches 2035 2046 +11
==========================================
- Hits 7036 7033 -3
- Misses 291 294 +3
Partials 2 2
Continue to review full report at Codecov.
|
|
也就是说有两种类型?一种是 extends file的,在 action 等地方用到。 |
看了一下 action 接受的参数好像不是 UploadFile |
dee548e
to
81da6e9
Compare
readonly lastModified: number; | ||
readonly lastModifiedDate: Date; | ||
readonly size: number; | ||
readonly webkitRelativePath: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只有webkitRelativePath
是需要加的 重复定义了 像name
, type
, lastModified
, size
都是 File
里本身就有的
🤔 This is a ...
👻 What's the background?
💡 Solution
📝 Changelog
☑️ Self Check before Merge