{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/4195","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/4195/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/4195/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/4195/events","html_url":"https://github.com/facebook/flow/issues/4195","id":236655717,"number":4195,"title":"Modules get typed as \"any\" leading to uncovered code","user":{"login":"matthewmueller","id":170299,"avatar_url":"https://avatars3.githubusercontent.com/u/170299?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewmueller","html_url":"https://github.com/matthewmueller","followers_url":"https://api.github.com/users/matthewmueller/followers","following_url":"https://api.github.com/users/matthewmueller/following{/other_user}","gists_url":"https://api.github.com/users/matthewmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewmueller/subscriptions","organizations_url":"https://api.github.com/users/matthewmueller/orgs","repos_url":"https://api.github.com/users/matthewmueller/repos","events_url":"https://api.github.com/users/matthewmueller/events{/privacy}","received_events_url":"https://api.github.com/users/matthewmueller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-17T11:38:46Z","updated_at":"2017-06-18T08:08:05Z","closed_at":"2017-06-18T08:08:05Z","body":"Not sure if this a bug or not, but it makes it very hard to get 100% coverage. I'm using the flow-typed express package, but I've narrowed the problem down to: \r\n\r\nhttps://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVATApgYxgQwCcswAXATwAcSsAPS4gZ0YBIBZASwwxiwSJIBeMAApiARwBcYAPIAjAFa5SAGjBNp8pTlVgAdnVLSRASjCCAfGABucLmctgAth1pYM6bHgHO4GAK68YADkdAxYzMFgAN6oYGBeBMRgUP56OhxwemCMWITWWADKpPikHDhicHBGOaSEHHoA5mpwlGVZjAD8morKJtJhTKyc3Lz8xHEJuEkkTn6BWAB0YXCEpIzSsfHxptK2XGrAwGAAklBg5HD+ZITkZHBgOPgwMGAwHADWJPgpaRlZag4pDACA4LzA-lyZAAFhxGDkOI09KV-BNtrVSuVpLl8kUSmUcGAjmAAAaMfHlElgBitPIUMBZGEkVLpdp6SYAXwA3KgOZNUBwnJRVsDBhF4VBCHAnCExZFUHLGItyZiKgAiUgRUhqkyoIA\r\n\r\nBoth `express` and `express.static` return type `any`, but as you can see from the flow bin `express.static()` shouldn't return `any`, but instead `express$Middleware`. \r\n\r\nHere are some screenshots:\r\n\r\n<img width=\"684\" alt=\"screen shot 2017-06-17 at 6 34 23 pm\" src=\"https://user-images.githubusercontent.com/170299/27252567-e8534412-538b-11e7-87f6-384a3b171c43.png\">\r\n<img width=\"662\" alt=\"screen shot 2017-06-17 at 6 34 32 pm\" src=\"https://user-images.githubusercontent.com/170299/27252568-e9e2de00-538b-11e7-86f0-c9c3892911b5.png\">\r\n"}}
{"actor":{"display_login":"matthewmueller"}}