lexical 0.3.5 → 0.3.6

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/Lexical.js.flow CHANGED
@@ -196,6 +196,7 @@ type TextNodeThemeClasses = {
196
196
  superscript?: EditorThemeClassName,
197
197
  };
198
198
  export type EditorThemeClasses = {
199
+ characterLimit?: EditorThemeClassName,
199
200
  ltr?: EditorThemeClassName,
200
201
  rtl?: EditorThemeClassName,
201
202
  text?: TextNodeThemeClasses,
@@ -302,7 +303,7 @@ export type DOMChildConversion = (
302
303
  parentLexicalNode: ?LexicalNode | null,
303
304
  ) => LexicalNode | null | void;
304
305
  export type DOMConversionMap = {
305
- [NodeName]: (node: Node) => DOMConversion | null,
306
+ [NodeName]: <T: HTMLElement>(node: T) => DOMConversion | null,
306
307
  };
307
308
  type NodeName = string;
308
309
  export type DOMConversionOutput = {