mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-05 06:47: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 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
|
export type CustomText = FormattedText
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user