{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2424","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2424/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2424/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2424/events","html_url":"https://github.com/Microsoft/TypeScript/issues/2424","id":62853807,"number":2424,"title":"TS2339 errors in express-validator","user":{"login":"teamzone","id":8433718,"avatar_url":"https://avatars.githubusercontent.com/u/8433718?v=3","gravatar_id":"","url":"https://api.github.com/users/teamzone","html_url":"https://github.com/teamzone","followers_url":"https://api.github.com/users/teamzone/followers","following_url":"https://api.github.com/users/teamzone/following{/other_user}","gists_url":"https://api.github.com/users/teamzone/gists{/gist_id}","starred_url":"https://api.github.com/users/teamzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamzone/subscriptions","organizations_url":"https://api.github.com/users/teamzone/orgs","repos_url":"https://api.github.com/users/teamzone/repos","events_url":"https://api.github.com/users/teamzone/events{/privacy}","received_events_url":"https://api.github.com/users/teamzone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Question","name":"Question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-19T02:50:04Z","updated_at":"2015-03-19T09:31:38Z","closed_at":"2015-03-19T05:39:24Z","body":"Hello,\r\n\r\nThe compiler it producing errors such as this:\r\n\r\nError TS2339: Property 'checkBody' does not exist on type 'Request'\r\n\r\nI have the typings referenced so i don't think this is the issue.  I notice that the typing file for express-validator does not contain this.  I'm not sure or don't know enough to be confident to change this.\r\n\r\nThis sort of error seems to be related to dynamically adding types.  The express validator does this to the request object.  I have some of my own code which does this as well to the node session type.  How can we tell the compiler that this is ok?\r\n\r\nRegards,\r\n\r\nNick"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/83442116","html_url":"https://github.com/Microsoft/TypeScript/issues/2424#issuecomment-83442116","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/2424","id":83442116,"user":{"login":"teamzone","id":8433718,"avatar_url":"https://avatars.githubusercontent.com/u/8433718?v=3","gravatar_id":"","url":"https://api.github.com/users/teamzone","html_url":"https://github.com/teamzone","followers_url":"https://api.github.com/users/teamzone/followers","following_url":"https://api.github.com/users/teamzone/following{/other_user}","gists_url":"https://api.github.com/users/teamzone/gists{/gist_id}","starred_url":"https://api.github.com/users/teamzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamzone/subscriptions","organizations_url":"https://api.github.com/users/teamzone/orgs","repos_url":"https://api.github.com/users/teamzone/repos","events_url":"https://api.github.com/users/teamzone/events{/privacy}","received_events_url":"https://api.github.com/users/teamzone/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T09:31:38Z","updated_at":"2015-03-19T09:31:38Z","body":"Thanks for code sample Daniel.  I will try it out.\r\n\r\nAs for express-validator, that leaves me with a dilemma.  It's a popular library it seems.  Having a clean build is important as well and this sort of failure invites bad practice in this process if I end up ignoring it.  A slippery slope."}}