1
0
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:
meri-leeworthy 2021-11-15 20:02:51 +11:00 committed by GitHub
parent 2c7750cac5
commit 5dc9dc5227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[] }