{"action":"created","issue":{"url":"https://api.github.com/repos/pleerock/routing-controllers/issues/38","repository_url":"https://api.github.com/repos/pleerock/routing-controllers","labels_url":"https://api.github.com/repos/pleerock/routing-controllers/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/pleerock/routing-controllers/issues/38/comments","events_url":"https://api.github.com/repos/pleerock/routing-controllers/issues/38/events","html_url":"https://github.com/pleerock/routing-controllers/pull/38","id":181807895,"number":38,"title":"Define with exactly type for express","user":{"login":"TonyPythoneer","id":10459119,"avatar_url":"https://avatars.githubusercontent.com/u/10459119?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyPythoneer","html_url":"https://github.com/TonyPythoneer","followers_url":"https://api.github.com/users/TonyPythoneer/followers","following_url":"https://api.github.com/users/TonyPythoneer/following{/other_user}","gists_url":"https://api.github.com/users/TonyPythoneer/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyPythoneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyPythoneer/subscriptions","organizations_url":"https://api.github.com/users/TonyPythoneer/orgs","repos_url":"https://api.github.com/users/TonyPythoneer/repos","events_url":"https://api.github.com/users/TonyPythoneer/events{/privacy}","received_events_url":"https://api.github.com/users/TonyPythoneer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-08T06:19:19Z","updated_at":"2016-10-14T18:20:53Z","closed_at":"2016-10-11T11:19:30Z","pull_request":{"url":"https://api.github.com/repos/pleerock/routing-controllers/pulls/38","html_url":"https://github.com/pleerock/routing-controllers/pull/38","diff_url":"https://github.com/pleerock/routing-controllers/pull/38.diff","patch_url":"https://github.com/pleerock/routing-controllers/pull/38.patch"},"body":"Hi @pleerock \r\n\r\nI suggest createExpressServer should return `express.Express` type and ExpressDriver.express sets  `express.Express` type.\r\nI don't want when I call the **createExpressServer** function, it will return an `any` value. In TypeScript,  It's not convenience to me if I need the value show its properties.\r\n\r\nSo, I improve the type definition accuracy and avoid to use `any` type on argument and return value."},"comment":{"url":"https://api.github.com/repos/pleerock/routing-controllers/issues/comments/253881754","html_url":"https://github.com/pleerock/routing-controllers/pull/38#issuecomment-253881754","issue_url":"https://api.github.com/repos/pleerock/routing-controllers/issues/38","id":253881754,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T18:20:53Z","updated_at":"2016-10-14T18:20:53Z","body":"right, I have same issue. I simply removed `implements MiddlewareInterface` from my classes after all 😞 "}}
{"actor":{"display_login":"pleerock"}}