Skip to content

slate@0.72.0

Choose a tag to compare

@github-actions github-actions released this 07 Dec 14:02
· 612 commits to main since this release
dc2999a

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;
      }
    }