Skip to content

feat(svelte): add support for typing according to sveltejs/rfcs#38#450

Merged
antfu merged 1 commit intoantfu:mainfrom
kelvindecosta:svelte-typing
Apr 15, 2024
Merged

feat(svelte): add support for typing according to sveltejs/rfcs#38#450
antfu merged 1 commit intoantfu:mainfrom
kelvindecosta:svelte-typing

Conversation

@kelvindecosta
Copy link
Contributor

Description

This PR attempts to add $$Events and $$Slots as known variables, similar to $$Props for the svelte plugin.
It follows from the official RFC for typing Svelte components.

Linked Issues

N/A

Additional context

No tests failed on the local production build but AFAIK there don't seem to be any specific tests for Svelte files that have components with typing information.

@netlify
Copy link

netlify bot commented Apr 14, 2024

Deploy Preview for melodious-froyo-4871f8 ready!

Name Link
🔨 Latest commit 544c2df
🔍 Latest deploy log https://app.netlify.com/sites/melodious-froyo-4871f8/deploys/661b8cab51c769000825827e
😎 Deploy Preview https://deploy-preview-450--melodious-froyo-4871f8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants