{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7241","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7241/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7241/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7241/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7241","id":136465341,"number":7241,"title":"Bug For ... in  with dictionary type","user":{"login":"GiedriusGrabauskas","id":5236988,"avatar_url":"https://avatars.githubusercontent.com/u/5236988?v=3","gravatar_id":"","url":"https://api.github.com/users/GiedriusGrabauskas","html_url":"https://github.com/GiedriusGrabauskas","followers_url":"https://api.github.com/users/GiedriusGrabauskas/followers","following_url":"https://api.github.com/users/GiedriusGrabauskas/following{/other_user}","gists_url":"https://api.github.com/users/GiedriusGrabauskas/gists{/gist_id}","starred_url":"https://api.github.com/users/GiedriusGrabauskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiedriusGrabauskas/subscriptions","organizations_url":"https://api.github.com/users/GiedriusGrabauskas/orgs","repos_url":"https://api.github.com/users/GiedriusGrabauskas/repos","events_url":"https://api.github.com/users/GiedriusGrabauskas/events{/privacy}","received_events_url":"https://api.github.com/users/GiedriusGrabauskas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T18:07:59Z","updated_at":"2016-02-25T18:07:59Z","closed_at":null,"body":"In Microsoft Visual Studio 2015 with Typescript 1.8.4, an error occurs on:\r\n\r\n```ts\r\nlet dictionary: {[key: number]: boolean } = {...};\r\n\r\nfor(let key in dictionary) {\r\n  let num: number = key; // ERROR: Type 'string' is not assignable to type 'number'\r\n}\r\n```\r\n\r\nKey in for loop is only string."}}