{"action":"reopened","issue":{"url":"https://api.github.com/repos/donnut/typescript-ramda/issues/86","repository_url":"https://api.github.com/repos/donnut/typescript-ramda","labels_url":"https://api.github.com/repos/donnut/typescript-ramda/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/donnut/typescript-ramda/issues/86/comments","events_url":"https://api.github.com/repos/donnut/typescript-ramda/issues/86/events","html_url":"https://github.com/donnut/typescript-ramda/issues/86","id":173605418,"number":86,"title":"Issue with compose and fromPairs","user":{"login":"whitecolor","id":736697,"avatar_url":"https://avatars.githubusercontent.com/u/736697?v=3","gravatar_id":"","url":"https://api.github.com/users/whitecolor","html_url":"https://github.com/whitecolor","followers_url":"https://api.github.com/users/whitecolor/followers","following_url":"https://api.github.com/users/whitecolor/following{/other_user}","gists_url":"https://api.github.com/users/whitecolor/gists{/gist_id}","starred_url":"https://api.github.com/users/whitecolor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitecolor/subscriptions","organizations_url":"https://api.github.com/users/whitecolor/orgs","repos_url":"https://api.github.com/users/whitecolor/repos","events_url":"https://api.github.com/users/whitecolor/events{/privacy}","received_events_url":"https://api.github.com/users/whitecolor/received_events","type":"User","site_admin":false},"labels":[{"id":128092634,"url":"https://api.github.com/repos/donnut/typescript-ramda/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-27T17:07:12Z","updated_at":"2016-12-11T16:04:09Z","closed_at":null,"body":"This errors:\n\n``` js\nR.compose(R.fromPairs)([['1','A'], ['2','B'], ['3','C']])\n```\n\n```\n[ts] Argument of type '[string, string][]' is not assignable to parameter of type 'KeyValuePair<number, any>[]'.\n  Type '[string, string]' is not assignable to type 'KeyValuePair<number, any>'.\n    Types of property '0' are incompatible.\n      Type 'string' is not assignable to type 'number'.\n```\n\nThough this works as it should (without compose and with numbered index)\n\n```\nR.fromPairs([['1','A'], ['2','B'], ['3','C']])\n\nR.compose(R.fromPairs)([[1,'A'], [2,'B'], [3,'C']])\n```\n"}}
{"actor":{"display_login":"tycho01"}}