Hey guys,
after updating @tinymce/tinymce-react to v6.0.0 I have noticed that the types that I was using to type the props for my custom Editor component have disappeared as you can see in the following image:

In the previous version (v5.1.1) I could use these types to correctly type my custom props in my custom Editor component, in that case the type from Init['formats'] was formats?: Formats | undefined. I also use it for typing the images_upload_handler, but it seems that on v6.0.0 the type from Init['images_upload_handler'] is {}. Previously it was (blobInfo: BlobInfo, progress: ProgressFn) => Promise<string>.
Is there something missing in the new version or should I change my types?
Hey guys,
after updating
@tinymce/tinymce-reacttov6.0.0I have noticed that the types that I was using to type the props for my custom Editor component have disappeared as you can see in the following image:In the previous version (
v5.1.1) I could use these types to correctly type my custom props in my custom Editor component, in that case the type fromInit['formats']wasformats?: Formats | undefined. I also use it for typing theimages_upload_handler, but it seems that onv6.0.0the type fromInit['images_upload_handler']is{}. Previously it was(blobInfo: BlobInfo, progress: ProgressFn) => Promise<string>.Is there something missing in the new version or should I change my types?