{"action":"created","issue":{"url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/3","repository_url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition","labels_url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/3/comments","events_url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/3/events","html_url":"https://github.com/niieani/rethinkdb-typescript-definition/issues/3","id":174726092,"number":3,"title":"Definition State","user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-02T10:12:44Z","updated_at":"2016-09-04T11:35:35Z","closed_at":null,"body":"So I spent the day typing this by hand and am currently around 1000 lines and a third of the definition through. However, much of it is likely incorrect in some way and will need refactoring anyway. Then I run across this and it looks fairly complete and would like to learn more. \r\n\r\nIs/was it all automatically generated? What do you think the main issues are? Any reason for `noImplicitAny` failures? Would you want to collaborate in @types on the definition? Can the original script/scraper be shared? "},"comment":{"url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/comments/244598286","html_url":"https://github.com/niieani/rethinkdb-typescript-definition/issues/3#issuecomment-244598286","issue_url":"https://api.github.com/repos/niieani/rethinkdb-typescript-definition/issues/3","id":244598286,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T11:35:35Z","updated_at":"2016-09-04T11:35:35Z","body":"I also discovered that there's native result, `Array` results (which the interface is similar to cursors) and `Cursor`. And `ArrayResult` actually extends `Array` internally so `Array.isArray(ArrayResult) && ArrayResult.toArray()` both work. It confused me for a little while after this refactor to understand how my code worked before and how it could possible work now with this change - it just turned out I was using the array types and as a cursor (but never `close()`)."}}
{"actor":{"display_login":"blakeembrey"}}