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
onSelect supplies you with the selected file from whatever integration you were interacting with as an argument to the callback you define. The type for the argument says that it is a native JS File type, but this doesn't match what is actually returned. The object that came back doesn't sufficiently overlap with the native File type.
Steps to reproduce:
Authenticate with Google Drive from the file picker
Select a file
console.log() what is being passed to the onSelect function
onSelect
supplies you with the selected file from whatever integration you were interacting with as an argument to the callback you define. The type for the argument says that it is a native JSFile
type, but this doesn't match what is actually returned. The object that came back doesn't sufficiently overlap with the nativeFile
type.Steps to reproduce:
console.log()
what is being passed to theonSelect
functionExample of what object I'm receiving:
Example of JS
File
type:The text was updated successfully, but these errors were encountered: