unlayer / react-email-editor

Drag-n-Drop Email Editor Component for React.js
https://unlayer.com/
MIT License
4.6k stars 742 forks source link

Missing signature type on User type. #327

Closed novacoole closed 1 year ago

novacoole commented 1 year ago

Using v1.7.6, I cannot pass a signature through the user property on the EmailEditor component due to a type error:

  Object literal may only specify known properties, and 'signature' does not exist in type 'User'.

Adding signature: string to the User type resolved the issue.

Here is a code sandbox demonstrating the issue: https://codesandbox.io/s/priceless-boyd-lh1f6b?file=/src/App.tsx