Skip to content

Conversation

ghostdevv
Copy link

When trying to render a legacy component and using the props object the target option is required by TypeScript, when it's not actually required. This changes that by explicitly marking target as optional, which fortunately shares the same signature in both Svelte 3/4 and 5, so doesn't seem to require any major change to the types.

@sheremet-va
Copy link
Member

I am struggling to visualize this. Can you show an example that fails?

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