Skip to content

Conversation

@dummdidumm
Copy link
Member

This adds support for a new experimantel feature, the $$Slots interface. If it's defined, components using slots of that component are type-checked against that definition. It is also made sure that only slots that exist and their correct type are used within the component that defines the $$Slots interface.

#442
sveltejs/rfcs#38

Simon Holthausen added 2 commits June 16, 2021 10:05
This adds support for a new experimantel feature, the $$Slots interface. If it's defined, components using slots of that component are type-checked against that definition. It is also made sure that only slots that exist and their correct type are used within the component that defines the $$Slots interface.

sveltejs#442
sveltejs/rfcs#38
@dummdidumm dummdidumm merged commit 4e5288f into sveltejs:master Jun 17, 2021
@dummdidumm dummdidumm deleted the slots-interface branch June 17, 2021 07:27
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.

1 participant