{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8377","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8377/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8377/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8377/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8377","id":138381159,"number":8377,"title":"Changed model from (string | Object) to (string | { [key: string]: an…","user":{"login":"aluanhaddad","id":5034656,"avatar_url":"https://avatars.githubusercontent.com/u/5034656?v=3","gravatar_id":"","url":"https://api.github.com/users/aluanhaddad","html_url":"https://github.com/aluanhaddad","followers_url":"https://api.github.com/users/aluanhaddad/followers","following_url":"https://api.github.com/users/aluanhaddad/following{/other_user}","gists_url":"https://api.github.com/users/aluanhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/aluanhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluanhaddad/subscriptions","organizations_url":"https://api.github.com/users/aluanhaddad/orgs","repos_url":"https://api.github.com/users/aluanhaddad/repos","events_url":"https://api.github.com/users/aluanhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/aluanhaddad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-04T05:21:00Z","updated_at":"2016-03-16T01:50:42Z","closed_at":"2016-03-16T01:50:28Z","pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/8377","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8377","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8377.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8377.patch"},"body":"case 1. Add a new type definition.\r\n- [ ] checked compilation succeeds with `--target es6` and `--noImplicitAny` options.\r\n- [ ] has correct [naming convention](http://definitelytyped.org/guides/contributing.html#naming-the-file)\r\n- [ ] has a [test file](http://definitelytyped.org/guides/contributing.html#tests) with the suffix of  `-tests.ts` or `-tests.tsx`.\r\n\r\ncase 2. Improvement to existing type definition.\r\n- documentation or source code reference which provides context for the suggested changes.  url http://api.jquery.com/html .\r\n  - it has been reviewed by a DefinitelyTyped member.\r\n\r\n…y; })\r\n\r\nChanged the type of the model properties of various interfaces from (string | Object) to (string | { [key: string]: any; }).\r\nThis change is to improve usability. While (string | Object) is correct and corresponds literally to the angular-formly docs, it does not allow for meaningful use without type casts.\r\nAlso corrected some formatting to match the prevailing style used in the file."},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/197106602","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8377#issuecomment-197106602","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/8377","id":197106602,"user":{"login":"horiuchi","id":32570,"avatar_url":"https://avatars.githubusercontent.com/u/32570?v=3","gravatar_id":"","url":"https://api.github.com/users/horiuchi","html_url":"https://github.com/horiuchi","followers_url":"https://api.github.com/users/horiuchi/followers","following_url":"https://api.github.com/users/horiuchi/following{/other_user}","gists_url":"https://api.github.com/users/horiuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/horiuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horiuchi/subscriptions","organizations_url":"https://api.github.com/users/horiuchi/orgs","repos_url":"https://api.github.com/users/horiuchi/repos","events_url":"https://api.github.com/users/horiuchi/events{/privacy}","received_events_url":"https://api.github.com/users/horiuchi/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T01:50:42Z","updated_at":"2016-03-16T01:50:42Z","body":"@aluanhaddad Thanks mate!\r\n@scatcher Thanks for review!"}}