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

Object.assign Type Bug #17239

Closed
kgtkr opened this issue Jul 17, 2017 · 2 comments
Closed

Object.assign Type Bug #17239

kgtkr opened this issue Jul 17, 2017 · 2 comments

Comments

@kgtkr
Copy link

kgtkr commented Jul 17, 2017

TypeScript Version: 2.4.0

Code

Object.assign({},{x:1},{x:""})

Expected behavior:
type is {x:string}
Actual behavior:
type is {x:number&string}

@ikatyang
Copy link
Contributor

It seems duplicate of #11100?

@ikatyang ikatyang marked this as a duplicate of #11100 Jul 17, 2017
@kgtkr
Copy link
Author

kgtkr commented Jul 17, 2017

サンキュー

@kgtkr kgtkr closed this as completed Jul 17, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants