{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12704","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12704/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12704/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12704/events","html_url":"https://github.com/Microsoft/TypeScript/issues/12704","id":194001448,"number":12704,"title":"Edge F12 Developer Tools debuging a .ts file has incorrect syntax highlighting","user":{"login":"wstaelens","id":7447285,"avatar_url":"https://avatars.githubusercontent.com/u/7447285?v=3","gravatar_id":"","url":"https://api.github.com/users/wstaelens","html_url":"https://github.com/wstaelens","followers_url":"https://api.github.com/users/wstaelens/followers","following_url":"https://api.github.com/users/wstaelens/following{/other_user}","gists_url":"https://api.github.com/users/wstaelens/gists{/gist_id}","starred_url":"https://api.github.com/users/wstaelens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wstaelens/subscriptions","organizations_url":"https://api.github.com/users/wstaelens/orgs","repos_url":"https://api.github.com/users/wstaelens/repos","events_url":"https://api.github.com/users/wstaelens/events{/privacy}","received_events_url":"https://api.github.com/users/wstaelens/received_events","type":"User","site_admin":false},"labels":[{"id":113971601,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/External","name":"External","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-07T09:42:48Z","updated_at":"2016-12-08T17:41:15Z","closed_at":"2016-12-08T17:41:15Z","body":"**TypeScript Version:**  2.x \r\nMicrosoft Edge 38.14393.0.0\r\nMicrosoft EdgeHTML 14.14393\r\n\r\n**Code**\r\n\r\n```ts\r\n export function zeroFill(number: number, width: number): string {\r\n        if (number !== null || number !== undefined) {\r\n            width -= number.toString().length;\r\n     }\r\n // ...\r\n}\r\n```\r\n\r\n![edge f12 syntax highlighting wrong](https://cloud.githubusercontent.com/assets/7447285/20962470/b7aa80c8-bc69-11e6-8ed5-f29b7bab79b9.PNG)\r\n\r\n**Expected behavior:**\r\nnumber variable should be highlighted as a variable, not as a keyword.\r\n\r\n**Actual behavior:**\r\nSyntax Highlighting shows variable number (number: number) in incorrect color in Edge F12 Developer Tools."}}
{"actor":{"display_login":"mhegazy"}}