svelte-highlight
svelte-highlight copied to clipboard
Semantics: `code`, `language` props should be marked as required
Currently, the code
and language
props are marked as optional because they have default values.
They should be typed as required props since the component wouldn't work without them.
-
Highlight
:code
andlanguage
should be required -
HighlightSvelte
:code
should be required -
HighlightAuto
:code
should be required