github ianstormtaylor/slate slate@0.72.0

latest releases: slate-dom@0.111.0, slate-react@0.111.0, slate-react@0.110.3...
2 years ago

Patch Changes

  • #4708 2fc7ad92 Thanks @bryanph! - Allow Operation type to be extended

    For example:

    import type { BaseOperation } from 'slate'
    
    type CustomOperation =
     | BaseOperation
     | YourCustomOperation
     | AnotherCustomOperation
    
    declare module 'slate' {
      interface CustomTypes {
        Operation: CustomOperation;
      }
    }
    

Don't miss a new slate release

NewReleases is sending notifications on new releases.