{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6823","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6823/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6823/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6823/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6823","id":130601958,"number":6823,"title":"Required parameter allows after initializable optional parameter","user":{"login":"falsandtru","id":3143368,"avatar_url":"https://avatars.githubusercontent.com/u/3143368?v=3","gravatar_id":"","url":"https://api.github.com/users/falsandtru","html_url":"https://github.com/falsandtru","followers_url":"https://api.github.com/users/falsandtru/followers","following_url":"https://api.github.com/users/falsandtru/following{/other_user}","gists_url":"https://api.github.com/users/falsandtru/gists{/gist_id}","starred_url":"https://api.github.com/users/falsandtru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falsandtru/subscriptions","organizations_url":"https://api.github.com/users/falsandtru/orgs","repos_url":"https://api.github.com/users/falsandtru/repos","events_url":"https://api.github.com/users/falsandtru/events{/privacy}","received_events_url":"https://api.github.com/users/falsandtru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-02T07:38:33Z","updated_at":"2016-02-02T09:39:22Z","closed_at":null,"body":"Invalid syntax.\r\n\r\nhttps://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#a-grammar\r\n\r\n```ts\r\nfunction f(a?, b) {} // error\r\nfunction g(a = 0, b) {} // should be an error\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/178476091","html_url":"https://github.com/Microsoft/TypeScript/issues/6823#issuecomment-178476091","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6823","id":178476091,"user":{"login":"Arnavion","id":1096010,"avatar_url":"https://avatars.githubusercontent.com/u/1096010?v=3","gravatar_id":"","url":"https://api.github.com/users/Arnavion","html_url":"https://github.com/Arnavion","followers_url":"https://api.github.com/users/Arnavion/followers","following_url":"https://api.github.com/users/Arnavion/following{/other_user}","gists_url":"https://api.github.com/users/Arnavion/gists{/gist_id}","starred_url":"https://api.github.com/users/Arnavion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arnavion/subscriptions","organizations_url":"https://api.github.com/users/Arnavion/orgs","repos_url":"https://api.github.com/users/Arnavion/repos","events_url":"https://api.github.com/users/Arnavion/events{/privacy}","received_events_url":"https://api.github.com/users/Arnavion/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T09:39:22Z","updated_at":"2016-02-02T09:39:22Z","body":"All valid ES6 syntax needs to be valid TS syntax."}}