mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 04:20:26 +02:00
Fix TS documentation mistake
This commit is contained in:
@@ -43,7 +43,7 @@ export type HeadingElement = {
|
||||
|
||||
export type CustomElement = ParagraphElement | HeadingElement
|
||||
|
||||
export type FormattedText = { text: 'string'; bold: boolean; italic: boolean }
|
||||
export type FormattedText = { text: string; bold: boolean; italic: boolean }
|
||||
|
||||
export type CustomText = FormattedText
|
||||
|
||||
|
Reference in New Issue
Block a user