{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2013","labels_url":"https://api.github.com/repos/babel/babel/issues/2013/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2013/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2013/events","html_url":"https://github.com/babel/babel/issues/2013","id":95351665,"number":2013,"title":"Support number literal type annotations for Flow","user":{"login":"frankychung","id":682943,"avatar_url":"https://avatars.githubusercontent.com/u/682943?v=3","gravatar_id":"","url":"https://api.github.com/users/frankychung","html_url":"https://github.com/frankychung","followers_url":"https://api.github.com/users/frankychung/followers","following_url":"https://api.github.com/users/frankychung/following{/other_user}","gists_url":"https://api.github.com/users/frankychung/gists{/gist_id}","starred_url":"https://api.github.com/users/frankychung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankychung/subscriptions","organizations_url":"https://api.github.com/users/frankychung/orgs","repos_url":"https://api.github.com/users/frankychung/repos","events_url":"https://api.github.com/users/frankychung/events{/privacy}","received_events_url":"https://api.github.com/users/frankychung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-16T05:10:19Z","updated_at":"2015-07-21T14:28:01Z","closed_at":"2015-07-21T14:28:01Z","body":"This is regarding [disjoint unions for Flow 0.13.1](http://flowtype.org/blog/2015/07/03/Disjoint-Unions.html) which allows string and number literals as types. Currently number literals such as `type Test = 1;` give an `Unexpected token` error. [Here is a simple example from the repl](http://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=type%20Test%20%3D%20'foo'%3B%0Atype%20Test2%20%3D%201%3B).\r\n"}}