{"action":"created","issue":{"url":"https://api.github.com/repos/louy/typed-sequelize/issues/3","repository_url":"https://api.github.com/repos/louy/typed-sequelize","labels_url":"https://api.github.com/repos/louy/typed-sequelize/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/louy/typed-sequelize/issues/3/comments","events_url":"https://api.github.com/repos/louy/typed-sequelize/issues/3/events","html_url":"https://github.com/louy/typed-sequelize/pull/3","id":154703914,"number":3,"title":"Add Association types","user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars.githubusercontent.com/u/10532611?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T12:47:47Z","updated_at":"2016-05-13T17:29:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/louy/typed-sequelize/pulls/3","html_url":"https://github.com/louy/typed-sequelize/pull/3","diff_url":"https://github.com/louy/typed-sequelize/pull/3.diff","patch_url":"https://github.com/louy/typed-sequelize/pull/3.patch"},"body":"This PR adds some classes for the return types of `belongsToMany`, `hasMany` and `hasOne`. They don't contain any properties yet (there are some, see [belongs-to-many.js#56-67](https://github.com/sequelize/sequelize/blob/master/lib/associations/belongs-to-many.js#L56-L67), but allow to [reuse the association object](https://github.com/sequelize/sequelize/issues/5215#issuecomment-171571661)"},"comment":{"url":"https://api.github.com/repos/louy/typed-sequelize/issues/comments/219107777","html_url":"https://github.com/louy/typed-sequelize/pull/3#issuecomment-219107777","issue_url":"https://api.github.com/repos/louy/typed-sequelize/issues/3","id":219107777,"user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars.githubusercontent.com/u/10532611?v=3","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T17:29:01Z","updated_at":"2016-05-13T17:29:01Z","body":"I fixed the tests, `var sequelize` and `module sequelize` conflicted. I don't know why it worked before, it got to be a TypeScript bug."}}