slate v0.58.0 Release Notes

Release Date: 2020-05-05 // almost 4 years ago
  • BREAKING

    👉 User properties on Elements and Texts now have an unknown type instead of any. Previously, the arbitrary user defined keys on the Text and Element interface had a type of any which effectively removed any potential type checking on those properties. Now these have a type of unknown so that type checking can be done by consumers of the API when they are applying their own custom properties to the Texts and Elements.