Rich text / foldkit-richtext-markdown
MarkdownDiagnostic
const · packages/richtext-markdown/src/diagnostic.ts:10
const MarkdownDiagnostic: Schema.Struct<{
readonly code: Schema.Literals<
readonly ['UnsupportedNode', 'UnsupportedMark', 'UnsafeUrl']
>
readonly detail: Schema.String
readonly node: Schema.optionalKey<
Schema.brand<Schema.NonEmptyString, 'foldkit-richtext/NodeId'>
>
}>Its type
type MarkdownDiagnostic = typeof MarkdownDiagnostic.Type