{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8818","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8818/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8818/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8818/events","html_url":"https://github.com/Microsoft/TypeScript/issues/8818","id":156791890,"number":8818,"title":"Don't make function parameters required by default","user":{"login":"linvi","id":6107439,"avatar_url":"https://avatars.githubusercontent.com/u/6107439?v=3","gravatar_id":"","url":"https://api.github.com/users/linvi","html_url":"https://github.com/linvi","followers_url":"https://api.github.com/users/linvi/followers","following_url":"https://api.github.com/users/linvi/following{/other_user}","gists_url":"https://api.github.com/users/linvi/gists{/gist_id}","starred_url":"https://api.github.com/users/linvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linvi/subscriptions","organizations_url":"https://api.github.com/users/linvi/orgs","repos_url":"https://api.github.com/users/linvi/repos","events_url":"https://api.github.com/users/linvi/events{/privacy}","received_events_url":"https://api.github.com/users/linvi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Needs%20More%20Info","name":"Needs More Info","color":"556b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T16:17:02Z","updated_at":"2016-05-25T17:31:58Z","closed_at":null,"body":"After installing to Visual Studio 2015 Update 2, the functions parameters are now enforced.\r\n\r\nMeaning that if I have a function like\r\n\r\n``` c# \r\nvar myFunc = function (hello) {};\r\n```\r\n\r\nI must specify the hello value. The solution is to put a `?` character at the end of the variable name (e.g. `hello?`).\r\nBut why would you do that? This is so painful and not compatible with javascript standards.\r\n\r\nIs there an option to remove this default behaviour?"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/221648326","html_url":"https://github.com/Microsoft/TypeScript/issues/8818#issuecomment-221648326","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8818","id":221648326,"user":{"login":"ahejlsberg","id":4226954,"avatar_url":"https://avatars.githubusercontent.com/u/4226954?v=3","gravatar_id":"","url":"https://api.github.com/users/ahejlsberg","html_url":"https://github.com/ahejlsberg","followers_url":"https://api.github.com/users/ahejlsberg/followers","following_url":"https://api.github.com/users/ahejlsberg/following{/other_user}","gists_url":"https://api.github.com/users/ahejlsberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ahejlsberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahejlsberg/subscriptions","organizations_url":"https://api.github.com/users/ahejlsberg/orgs","repos_url":"https://api.github.com/users/ahejlsberg/repos","events_url":"https://api.github.com/users/ahejlsberg/events{/privacy}","received_events_url":"https://api.github.com/users/ahejlsberg/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T17:31:58Z","updated_at":"2016-05-25T17:31:58Z","body":"That's been the behavior in TypeScript all along, it is not new in the latest VS update. TypeScript's purpose is to catch mistakes, such as passing the wrong number of arguments to a function (a very common one). I'm not quite sure what you're proposing here?"}}
{"actor":{"display_login":"ahejlsberg"}}