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
andElement
interface had a type ofany
which effectively removed any potential type checking on those properties. Now these have a type ofunknown
so that type checking can be done by consumers of the API when they are applying their own custom properties to theText
s andElement
s.