Type alias ValidHighlightCodeOptions

ValidHighlightCodeOptions: {
    highlightCode?: DangerouslyHighlightCode;
    highlightElement?: never;
} | {
    highlightCode?: never;
    highlightElement?: HighlightElement;
} | {
    highlightCode?: never;
    highlightElement?: never;
}

This type ensures that both the highlightCode an highlightElement functions cannot be provided at the same time.

Type declaration

Type declaration

Type declaration

  • Optional highlightCode?: never
  • Optional highlightElement?: never

Generated using TypeDoc