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
...
generateUniqueIdentifier: ((file: File,event: Event)=>{varrelativePath=file.webkitRelativePath||file.fileName||file.name;// Some confusion in different versions of Firefoxvarsize=file.size;return(size+'-'+relativePath.replace(/[^0-9a-zA-Z_-]/img,''));})as()=>string,
...
Returns:
Type '(file: File, event: Event) => string' is not assignable to type '() => string'.ts(2322)
This happens because:
generateUniqueIdentifier?: () => string;
Also, File type won't handle the attributes webkitRelativePathfile.relativePath or file.fileName
The text was updated successfully, but these errors were encountered:
Returns:
This happens because:
Also, File type won't handle the attributes
webkitRelativePath
file.relativePath
orfile.fileName
The text was updated successfully, but these errors were encountered: