mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-19 21:01:57 +02:00
missing dependency (#4656)
This commit is contained in:
parent
2c7750cac5
commit
5dc9dc5227
@ -51,7 +51,7 @@ Of course we haven't rendered anything, so you won't see any changes.
|
||||
|
||||
```typescript
|
||||
// TypeScript users only add this code
|
||||
import { BaseEditor } from 'slate'
|
||||
import { BaseEditor, Descendant } from 'slate'
|
||||
import { ReactEditor } from 'slate-react'
|
||||
|
||||
type CustomElement = { type: 'paragraph'; children: CustomText[] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user