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
this is my code copied from the website. But its giving the error below.
Type '(blobInfo: { blob: () => { (): any; new (): any; type: string; }; base64: () => string; }, success: (arg0: string) => void, failure: any) => void' is not assignable to type 'UploadHandler'.
Target signature provides too few arguments. Expected 3 or more, but got 2.ts(2322)
Please let me know where I have gone wrong
The text was updated successfully, but these errors were encountered:
Hi,
I am using react typescript.
images_upload_handler: function(blobInfo: { blob: () => { (): any; new(): any; type: string; }; base64: () => string; }, success: (arg0: string) => void, failure: any) {
this is my code copied from the website. But its giving the error below.
Type '(blobInfo: { blob: () => { (): any; new (): any; type: string; }; base64: () => string; }, success: (arg0: string) => void, failure: any) => void' is not assignable to type 'UploadHandler'.
Target signature provides too few arguments. Expected 3 or more, but got 2.ts(2322)
Please let me know where I have gone wrong
The text was updated successfully, but these errors were encountered: