1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 05:31:56 +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' { declare module 'slate' {
interface CustomTypes { interface CustomTypes {
Editor: BaseEditor & ReactEditor & HistoryEditor Editor: BaseEditor & ReactEditor
Element: CustomElement Element: CustomElement
Text: CustomText Text: CustomText
} }