1
0
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:
Sunny Hirai
2021-03-13 12:21:16 -08:00
parent ec0d2d8e16
commit b5fc28d8ff

View File

@@ -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