{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8679","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8679/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8679/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8679/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8679","id":142542511,"number":8679,"title":"fix express.NextFunction","user":{"login":"kimamula","id":3130879,"avatar_url":"https://avatars.githubusercontent.com/u/3130879?v=3","gravatar_id":"","url":"https://api.github.com/users/kimamula","html_url":"https://github.com/kimamula","followers_url":"https://api.github.com/users/kimamula/followers","following_url":"https://api.github.com/users/kimamula/following{/other_user}","gists_url":"https://api.github.com/users/kimamula/gists{/gist_id}","starred_url":"https://api.github.com/users/kimamula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimamula/subscriptions","organizations_url":"https://api.github.com/users/kimamula/orgs","repos_url":"https://api.github.com/users/kimamula/repos","events_url":"https://api.github.com/users/kimamula/events{/privacy}","received_events_url":"https://api.github.com/users/kimamula/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T04:05:46Z","updated_at":"2016-03-22T04:05:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/8679","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8679","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8679.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8679.patch"},"body":"With the current definition of `express.NextFunction`, we cannot assign a function with any argument (see the below link).\r\n\r\n<del>case 1. Add a new type definition.</del>\r\n\r\ncase 2. Improvement to existing type definition.\r\n- documentation or source code reference which provides context for the suggested changes.\r\n  - http://www.typescriptlang.org/Playground#src=interface%20NextFunction%20%7B%0D%0A%20%20%20%20()%3A%20void%3B%0D%0A%20%20%20%20(err%3A%20any)%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Aconst%20next%3A%20NextFunction%20%3D%20(err%3A%20any)%20%3D%3E%20%7B%7D%3B%0D%0A%0D%0Ainterface%20NewNextFunction%20%7B%0D%0A%20%20%20%20(err%3F%3A%20any)%3A%20void%3B%0D%0A%7D%0D%0A%0D%0Aconst%20newNext%3A%20NewNextFunction%20%3D%20(err%3A%20any)%20%3D%3E%20%7B%7D%3B\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/199629134","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8679#issuecomment-199629134","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8679","id":199629134,"user":{"login":"dt-bot","id":7585416,"avatar_url":"https://avatars.githubusercontent.com/u/7585416?v=3","gravatar_id":"","url":"https://api.github.com/users/dt-bot","html_url":"https://github.com/dt-bot","followers_url":"https://api.github.com/users/dt-bot/followers","following_url":"https://api.github.com/users/dt-bot/following{/other_user}","gists_url":"https://api.github.com/users/dt-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dt-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dt-bot/subscriptions","organizations_url":"https://api.github.com/users/dt-bot/orgs","repos_url":"https://api.github.com/users/dt-bot/repos","events_url":"https://api.github.com/users/dt-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dt-bot/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T04:05:47Z","updated_at":"2016-03-22T04:05:47Z","body":"*express-serve-static-core/express-serve-static-core.d.ts*\n\nto author (@borisyankov). Could you review this PR?\n:+1: or :-1:?\n\nChecklist\n\n* [ ] pass the Travis CI test?"}}