{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/15696","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/15696/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/15696/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/15696/events","html_url":"https://github.com/Microsoft/TypeScript/issues/15696","id":227277612,"number":15696,"title":"Array of tuple default initializer assignability issue","user":{"login":"tinganho","id":1324476,"avatar_url":"https://avatars0.githubusercontent.com/u/1324476?v=3","gravatar_id":"","url":"https://api.github.com/users/tinganho","html_url":"https://github.com/tinganho","followers_url":"https://api.github.com/users/tinganho/followers","following_url":"https://api.github.com/users/tinganho/following{/other_user}","gists_url":"https://api.github.com/users/tinganho/gists{/gist_id}","starred_url":"https://api.github.com/users/tinganho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinganho/subscriptions","organizations_url":"https://api.github.com/users/tinganho/orgs","repos_url":"https://api.github.com/users/tinganho/repos","events_url":"https://api.github.com/users/tinganho/events{/privacy}","received_events_url":"https://api.github.com/users/tinganho/received_events","type":"User","site_admin":false},"labels":[{"id":113971226,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Duplicate","name":"Duplicate","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-09T07:43:07Z","updated_at":"2017-05-09T17:22:15Z","closed_at":"2017-05-09T17:22:09Z","body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**  2.2.1 / nightly (2.2.0-dev.201xxxxx)\r\n\r\n**Code**\r\n\r\n```ts\r\nlet a: [string, 'asc' | 'desc'][];\r\na = [['some', 'asc']]; // No error\r\n\r\nclass A {\r\n    a: [string, 'asc' | 'desc'][];\r\n}\r\n\r\nclass B extends A {\r\n    a = [['some', 'asc']]; // Error string[][] is not assignable to [string, 'asc' | 'desc'][]\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\nThe default initialised member `a` in class `B` should not error.\r\n\r\n**Actual behavior:**\r\nThe default initialised member `a` errors.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/300239179","html_url":"https://github.com/Microsoft/TypeScript/issues/15696#issuecomment-300239179","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/15696","id":300239179,"user":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars0.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T17:22:15Z","updated_at":"2017-05-09T17:22:15Z","body":"See #10570"}}
{"actor":{"display_login":"RyanCavanaugh"}}