Closed danoaky-tiny closed 1 month ago
INT-3308
The previous props that were typed as never, are now typed as DoNotUse<message>. So when one of these props are assigned to, e.g.
never
DoNotUse<message>
<Editor init={{ selector: 'textarea' }} />
It will cause a TS error like this:
error TS2322: Type 'string' is not assignable to type 'DoNotUse<"selector prop is handled internally by the component">'.
INT-3308
The previous props that were typed as
never
, are now typed asDoNotUse<message>
. So when one of these props are assigned to, e.g.It will cause a TS error like this: