{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11226","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11226/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11226/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11226/events","html_url":"https://github.com/Microsoft/TypeScript/issues/11226","id":179897053,"number":11226,"title":"Setting ArrayLike<T>.length or any index results in TS2450. (TSv2)","user":{"login":"electricessence","id":5899455,"avatar_url":"https://avatars.githubusercontent.com/u/5899455?v=3","gravatar_id":"","url":"https://api.github.com/users/electricessence","html_url":"https://github.com/electricessence","followers_url":"https://api.github.com/users/electricessence/followers","following_url":"https://api.github.com/users/electricessence/following{/other_user}","gists_url":"https://api.github.com/users/electricessence/gists{/gist_id}","starred_url":"https://api.github.com/users/electricessence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electricessence/subscriptions","organizations_url":"https://api.github.com/users/electricessence/orgs","repos_url":"https://api.github.com/users/electricessence/repos","events_url":"https://api.github.com/users/electricessence/events{/privacy}","received_events_url":"https://api.github.com/users/electricessence/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Working%20as%20Intended","name":"Working as Intended","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-28T21:37:25Z","updated_at":"2016-09-29T01:14:07Z","closed_at":null,"body":"**TypeScript Version:**  2.0.3\r\n\r\n**Code**\r\n\r\n```ts\r\nvar a:ArrayLike<number> = [];\r\na.length = 10; // TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.\r\n```\r\n\r\nI'm assuming there are other cases than ArrayLike<T> that this happens?"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/250345586","html_url":"https://github.com/Microsoft/TypeScript/issues/11226#issuecomment-250345586","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11226","id":250345586,"user":{"login":"electricessence","id":5899455,"avatar_url":"https://avatars.githubusercontent.com/u/5899455?v=3","gravatar_id":"","url":"https://api.github.com/users/electricessence","html_url":"https://github.com/electricessence","followers_url":"https://api.github.com/users/electricessence/followers","following_url":"https://api.github.com/users/electricessence/following{/other_user}","gists_url":"https://api.github.com/users/electricessence/gists{/gist_id}","starred_url":"https://api.github.com/users/electricessence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electricessence/subscriptions","organizations_url":"https://api.github.com/users/electricessence/orgs","repos_url":"https://api.github.com/users/electricessence/repos","events_url":"https://api.github.com/users/electricessence/events{/privacy}","received_events_url":"https://api.github.com/users/electricessence/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T01:14:07Z","updated_at":"2016-09-29T01:14:07Z","body":"So you're telling me because of some weird edge case put into the compiler, I have to write my own ArrayLike<T>?"}}
{"actor":{"display_login":"electricessence"}}