K

event-handling-on-change

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod automates the update of your onChange event handler function to support the new Descendant[] type and selection handling introduced in version 0.104.

Before (v0.88):

typescript

After (v0.104)

typescript

Ready to contribute?

Build your own codemod and share it with the community.