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(types): add typings for defaultAsComponent: true case. #25

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

MrFoxPro
Copy link
Collaborator

@MrFoxPro MrFoxPro commented Nov 18, 2022

#24

README.md Outdated
"types": [
"vite/client",
"vite-plugin-solid-svg/types",
// Use vite-plugin-solid-svg/types-default together with `defaultAsComponent`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe vite-plugin-solid-svg/as-component?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds nice, but for consistency will use component-solid.

@MrFoxPro MrFoxPro force-pushed the default-as-component-types branch 2 times, most recently from b3c1f17 to 601451a Compare July 4, 2023 13:27
@MrFoxPro MrFoxPro force-pushed the default-as-component-types branch from 601451a to d34519a Compare July 4, 2023 13:27
@MrFoxPro MrFoxPro merged commit af8ef63 into jfgodoy:main Jul 4, 2023
@MrFoxPro
Copy link
Collaborator Author

MrFoxPro commented Jul 4, 2023

@jfgodoy let's publish it

@jfgodoy
Copy link
Owner

jfgodoy commented Jul 5, 2023

great work!! 🎉 I've just published it.

@MrFoxPro MrFoxPro deleted the default-as-component-types branch July 5, 2023 05:40
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

3 participants