{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/5830","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/5830/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/5830/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/5830/events","html_url":"https://github.com/facebook/flow/issues/5830","id":297970126,"number":5830,"title":"[feature request] Allow linebreak as delimiter for types/interfaces","user":{"login":"zaynv","id":8627403,"avatar_url":"https://avatars1.githubusercontent.com/u/8627403?v=4","gravatar_id":"","url":"https://api.github.com/users/zaynv","html_url":"https://github.com/zaynv","followers_url":"https://api.github.com/users/zaynv/followers","following_url":"https://api.github.com/users/zaynv/following{/other_user}","gists_url":"https://api.github.com/users/zaynv/gists{/gist_id}","starred_url":"https://api.github.com/users/zaynv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaynv/subscriptions","organizations_url":"https://api.github.com/users/zaynv/orgs","repos_url":"https://api.github.com/users/zaynv/repos","events_url":"https://api.github.com/users/zaynv/events{/privacy}","received_events_url":"https://api.github.com/users/zaynv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T02:12:32Z","updated_at":"2018-04-06T10:50:43Z","closed_at":null,"author_association":"NONE","body":"TypeScript allows syntax like so:\r\n\r\n```typescript\r\ninterface PersonProps {\r\n  name: string\r\n  age: number\r\n  title: string\r\n}\r\n```\r\n\r\nsame thing for `type`:\r\n\r\n```typescript\r\ntype PersonProps = {\r\n  name: string\r\n  age: number\r\n  title: string\r\n}\r\n```\r\n\r\nI know some may not like this style, but it would be nice if it was at least an option in Flow as it is in TypeScript. It's a nice-to-have for people who use the semicolon-less style."},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/379218584","html_url":"https://github.com/facebook/flow/issues/5830#issuecomment-379218584","issue_url":"https://api.github.com/repos/facebook/flow/issues/5830","id":379218584,"user":{"login":"donce","id":1409983,"avatar_url":"https://avatars0.githubusercontent.com/u/1409983?v=4","gravatar_id":"","url":"https://api.github.com/users/donce","html_url":"https://github.com/donce","followers_url":"https://api.github.com/users/donce/followers","following_url":"https://api.github.com/users/donce/following{/other_user}","gists_url":"https://api.github.com/users/donce/gists{/gist_id}","starred_url":"https://api.github.com/users/donce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donce/subscriptions","organizations_url":"https://api.github.com/users/donce/orgs","repos_url":"https://api.github.com/users/donce/repos","events_url":"https://api.github.com/users/donce/events{/privacy}","received_events_url":"https://api.github.com/users/donce/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T10:50:43Z","updated_at":"2018-04-06T10:50:43Z","author_association":"NONE","body":"Totally agree - we're omitting semicolons, so having semicolons only in interfaces looks inconsistent :("}}
{"actor":{"display_login":"donce"}}