slate 0.71.0 → 0.71.1-202111416125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # slate
2
2
 
3
+ ## 0.71.1-202111416125
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4708](https://github.com/ianstormtaylor/slate/pull/4708) [`2fc7ad92`](https://github.com/ianstormtaylor/slate/commit/2fc7ad924cfbb75de59f685eeabb0375769201b9) Thanks [@bryanph](https://github.com/bryanph)! - Allow `Operation` type to be extended
8
+
9
+ For example:
10
+
11
+ ```
12
+ import type { BaseOperation } from 'slate'
13
+
14
+ type CustomOperation =
15
+ | BaseOperation
16
+ | YourCustomOperation
17
+ | AnotherCustomOperation
18
+
19
+ declare module 'slate' {
20
+ interface CustomTypes {
21
+ Operation: CustomOperation;
22
+ }
23
+ }
24
+ ```
25
+
3
26
  ## 0.71.0
4
27
 
5
28
  ### Minor Changes