Skip to content

feat: Add withDefaults snippet for defineProps #58

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

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

pixel-fabian
Copy link
Contributor

Add snippet for withDefaults compiler macro, see Default props values when using type declaration

Copy link
Owner

@ExEr7um ExEr7um left a comment

Choose a reason for hiding this comment

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

Nice one! Can you please rename prefix to vdefineprops-withdefaults?

@ExEr7um ExEr7um self-assigned this Dec 20, 2023
@ExEr7um ExEr7um added the Feature New feature or request label Dec 20, 2023
@pixel-fabian
Copy link
Contributor Author

Sure :)

@ExEr7um ExEr7um changed the title feat: ✨ ADD withDefaults for defineProps feat: Add withDefaults snippet for defineProps Dec 20, 2023
@ExEr7um ExEr7um merged commit 03dfc44 into ExEr7um:main Dec 20, 2023
@ExEr7um
Copy link
Owner

ExEr7um commented Dec 20, 2023

Thank you! Will release it later today together with #59.

ExEr7um pushed a commit that referenced this pull request Dec 20, 2023
* feat: ✨ ADD ref with generic type argument

* feat: Add `withDefaults` snippet for `defineProps` (#58)

* feat: ✨ ADD withDefaults for defineProps

* refactor: ✏️ RENAME prefix

* feat: ✨ ADD ref with generic type argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants