Type alias ValidHighlightCodeOptions
ValidHighlightCodeOptions: { highlightCode?: DangerouslyHighlightCode; highlightElement?: never; } | { highlightCode?: never; highlightElement?: HighlightElement; } | { highlightCode?: never; highlightElement?: never; } Type declaration
Optional
highlightElement?: never
Type declaration
Optional
highlightCode?: never
Type declaration
Optional
highlightCode?: never
Optional
highlightElement?: never
This type ensures that both the
highlightCode
anhighlightElement
functions cannot be provided at the same time.