metonym / svelte-highlight

Syntax Highlighting for Svelte using highlight.js
https://svhe.onrender.com
MIT License
253 stars 13 forks source link

fix!: mark `code`, `language` props as required #218

Closed metonym closed 1 year ago

metonym commented 2 years ago

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.

render[bot] commented 2 years ago

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] commented 2 years ago

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.