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(compiler-sfc): support inferring Date/RegExp/Error from defineProps w/ type #2980

Closed
wants to merge 2 commits into from
Closed

feat(compiler-sfc): support inferring Date/RegExp/Error from defineProps w/ type #2980

wants to merge 2 commits into from

Conversation

HcySunYang
Copy link
Member

@HcySunYang HcySunYang commented Jan 10, 2021

Due to #2668, it would be great to be able to infer Date from the defineProps<type>.

Edit: More types are supported.

CI failure is not related to this.

@HcySunYang HcySunYang changed the title feat(compiler-sfc): support inferring Date from defineProps w/ type feat(compiler-sfc): support inferring Date/RegExp/Error from defineProps w/ type Jan 10, 2021
@HcySunYang HcySunYang added the 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. label Mar 19, 2021
@yyx990803 yyx990803 deleted the branch vuejs:master January 18, 2022 08:30
@yyx990803 yyx990803 closed this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. scope: sfc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants