editor: fix error Cannot find name 'Writeable'

This commit is contained in:
ammarahm-ed
2023-07-05 13:52:08 +05:00
parent 869d8ba8f9
commit 5bcda2cd3a

View File

@@ -31,6 +31,8 @@ import { createSelectionBasedNodeView } from "../react";
import { TextDirections } from "../text-direction";
import { ImageComponent } from "./component";
type Writeable<T> = { -readonly [P in keyof T]: T[P] };
export interface ImageOptions {
inline: boolean;
allowBase64: boolean;