You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand this is a feature request and questions should be posted in the Community Forum
I searched issues and couldn’t find anything (or linked relevant results below)
Problem
It might be good export Headers type. When we use XHRUpload class it also takes headers property but this property's type is not exported if you export that type we can use directly from library, otherwise we need to create our custom type. it looks unnecessary
Initial checklist
Problem
It might be good export Headers type. When we use
XHRUpload
class it also takes headers property but this property's type is not exported if you export that type we can use directly from library, otherwise we need to create our custom type. it looks unnecessaryExcepted
Original Line
type Headers = {
[name: string]: string | number
}
uppy/packages/@uppy/xhr-upload/types/index.d.ts
Lines 4 to 6 in 169de84
Error Message
Solution
it's enough to add
export
keywordAlternatives
Create custom type with the same name
The text was updated successfully, but these errors were encountered: