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:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user