1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-18 13:11:17 +02:00

Stop basic installation from throwing typescript errors (#4185)

This commit is contained in:
Michal Srb
2021-04-13 16:12:42 +02:00
committed by GitHub
parent 4945a1a275
commit 734bfb5788

View File

@@ -59,7 +59,7 @@ type CustomText = { text: string }
declare module 'slate' {
interface CustomTypes {
Editor: BaseEditor & ReactEditor & HistoryEditor
Editor: BaseEditor & ReactEditor
Element: CustomElement
Text: CustomText
}