Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Apr 15, 2024

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.

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.

@antfu antfu merged commit e075210 into antfu:main Apr 15, 2024
8 checks passed
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.

None yet

2 participants