Skip to content

[svelte] try to infer props for typed components - #4523

Merged
KevinVandy merged 1 commit into
TanStack:mainfrom
thenbe:flexible-generic
Nov 15, 2022
Merged

[svelte] try to infer props for typed components#4523
KevinVandy merged 1 commit into
TanStack:mainfrom
thenbe:flexible-generic

Conversation

@thenbe

@thenbe thenbe commented Nov 13, 2022

Copy link
Copy Markdown
Contributor

Redo of #4516, which was causing the build to fail becuase the types were too strict. This time, we only try to infer the prop type if a typed Svelte component is passed in. Otherwise, we fallback to any.

@KevinVandy
KevinVandy merged commit c8de1e4 into TanStack:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants