Skip to content

Object.assign Type Bug #17239

Closed
Closed

Description

@kgtkr

TypeScript Version: 2.4.0

Code

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

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

Activity

  1. ikatyang commented on Jul 17, 2017

    @ikatyang
    Contributor

    It seems duplicate of #11100?

  2. kgtkr commented on Jul 17, 2017

    @kgtkr
    Author

    サンキュー

  3. locked and limited conversation to collaborators on Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions