Property 'editor' does not exist on type 'never'.

This issue has been tracked since 2022-07-24.

When using Typescript, the react example gives the error - Property 'editor' does not exist on type 'never'. where ever emailEditorRef.current.editor is referenced. Any ideas of how to fix this?
Screen Shot 2022-07-24 at 10 33 25 AM

driaug wrote this answer on 2022-08-04

I have simply TS ignored the error because it is functional code, just has no TS support.

In theory, you could write your own explicit typing to fix the error but the complete lack of documentation makes it nearly impossible...

More Details About Repo
Owner Name unlayer
Repo Name react-email-editor
Full Name unlayer/react-email-editor
Language JavaScript
Created Date 2017-10-01
Updated Date 2022-12-05
Star Count 3598
Watcher Count 48
Fork Count 627
Issue Count 163


Issue Title Created Date Updated Date