UNPKG

usfm-editor

Version:
16 lines (15 loc) 391 B
import { BaseEditor, BaseElement, BaseText } from "slate"; import { ReactEditor } from "slate-react"; declare type HasMarkers = { [key: string]: boolean | string; }; declare module "slate" { interface CustomTypes { Editor: BaseEditor & ReactEditor; Element: BaseElement & { type: string; }; Text: BaseText & HasMarkers; } } export {};