svelte-highlight icon indicating copy to clipboard operation
svelte-highlight copied to clipboard

breaking: mark `code`, `language` props as required

Open metonym opened this issue 2 years ago • 2 comments

Closes #215

This is technically a breaking change so the major version should be incremented.

This changes the semantics of how code and language props are typed. Both should be required. To do this in Svelte, the props should not be assigned a default value.

metonym avatar Jul 01 '22 12:07 metonym

Your Render PR Server URL is https://svelte-highlight-pr-218.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-cavekm0nlkiaceib4sj0.

render[bot] avatar Jul 01 '22 12:07 render[bot]

Your Render PR Server URL is https://svelte-highlight-pr-218-hvz0.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-cavekmgnlkiaceib4smg.

render[bot] avatar Jul 01 '22 12:07 render[bot]