{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1934","labels_url":"https://api.github.com/repos/babel/babel/issues/1934/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1934/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1934/events","html_url":"https://github.com/babel/babel/issues/1934","id":93407096,"number":1934,"title":"Strip flow directive","user":{"login":"leebyron","id":50130,"avatar_url":"https://avatars.githubusercontent.com/u/50130?v=3","gravatar_id":"","url":"https://api.github.com/users/leebyron","html_url":"https://github.com/leebyron","followers_url":"https://api.github.com/users/leebyron/followers","following_url":"https://api.github.com/users/leebyron/following{/other_user}","gists_url":"https://api.github.com/users/leebyron/gists{/gist_id}","starred_url":"https://api.github.com/users/leebyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leebyron/subscriptions","organizations_url":"https://api.github.com/users/leebyron/orgs","repos_url":"https://api.github.com/users/leebyron/repos","events_url":"https://api.github.com/users/leebyron/events{/privacy}","received_events_url":"https://api.github.com/users/leebyron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T00:25:51Z","updated_at":"2015-07-07T10:13:05Z","closed_at":"2015-07-07T10:13:05Z","body":"When stripping flow types from files, Babel should also strip the `/*@flow*/` directive, otherwise the file is left in a state where flow could encounter it and believe that it should investigate and type check it, however the relevant information for successfully type checking has been removed, making errors highly likely.\r\n\r\nThis was encountered here: https://github.com/graphql/graphql-js/issues/25\r\n\r\n"}}