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

close #6447: fix type checking for primitive wrapper objects #6450

Merged
merged 4 commits into from
Sep 5, 2017
Merged

close #6447: fix type checking for primitive wrapper objects #6450

merged 4 commits into from
Sep 5, 2017

Conversation

javoski
Copy link
Member

@javoski javoski commented Aug 25, 2017

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

Other information:
close #6447 .

@DanielCoulbourne
Copy link

I strongly support this PR. (And thanks for making it. I would have done myself but you beat me to it 😄) It solves a pretty big use case for a few users of my package Ziggy as outlined in tighten/ziggy#64

@jesseleite
Copy link

jesseleite commented Aug 25, 2017

^ I'd like to note that this PR has way more upvotes than downvotes.

Kidding! I support this PR too though.

@yyx990803
Copy link
Member

Merging since this is a somewhat implicit change and we probably will not document this behavior so that we don't "encourage code smell" for the users :)

@yyx990803 yyx990803 merged commit 679cd1f into vuejs:dev Sep 5, 2017
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
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.

Change prop type checking to use instanceof instead of typeof
6 participants