UNPKG

react-simple-wysiwyg

Version:
7 lines (6 loc) 387 B
export declare function compare<T>(a: T, b: T, keys: Array<keyof T>): boolean; export declare function deepMerge<T>(target: any, ...sources: T[]): T; export declare function findLastTextNode(node: Node): Node | null; export declare function getSelectedNode(): Node; export declare function normalizeHtml(str: string): string; export declare function replaceCaret(el: HTMLElement): void;