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

types(shared): improve capitalize types #6212

Merged
merged 1 commit into from
Jul 9, 2023

Conversation

tolking
Copy link
Contributor

@tolking tolking commented Jul 1, 2022

  • before
const event = 'click'

capitalize(event) // string
toHandlerKey(event) // string
  • after
const event = 'click'

capitalize(event) // "Click"
toHandlerKey(event) // "onClick"

@netlify
Copy link

netlify bot commented Jul 1, 2022

Deploy Preview for vuejs-coverage failed.

Name Link
🔨 Latest commit ec3e6fe
🔍 Latest deploy log https://app.netlify.com/sites/vuejs-coverage/deploys/62be8f7bb589dc0008750449

@LinusBorg LinusBorg added scope: types 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. labels Jul 4, 2022
@netlify
Copy link

netlify bot commented Aug 31, 2022

Deploy Preview for vue-sfc-playground failed.

Name Link
🔨 Latest commit fe1c833
🔍 Latest deploy log https://app.netlify.com/sites/vue-sfc-playground/deploys/630f185c7537680007f9f09f

@sxzz sxzz added the ready to merge The PR is ready to be merged. label Jun 12, 2023
@yyx990803 yyx990803 merged commit eee7090 into vuejs:main Jul 9, 2023
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. ready to merge The PR is ready to be merged. scope: types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants