{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/2915","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/2915/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/2915/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/2915/events","html_url":"https://github.com/typeorm/typeorm/issues/2915","id":368996207,"node_id":"MDU6SXNzdWUzNjg5OTYyMDc=","number":2915,"title":"'type' is declared but its value is never read (@many to many)","user":{"login":"zhangjianfang19910327","id":19276838,"node_id":"MDQ6VXNlcjE5Mjc2ODM4","avatar_url":"https://avatars1.githubusercontent.com/u/19276838?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangjianfang19910327","html_url":"https://github.com/zhangjianfang19910327","followers_url":"https://api.github.com/users/zhangjianfang19910327/followers","following_url":"https://api.github.com/users/zhangjianfang19910327/following{/other_user}","gists_url":"https://api.github.com/users/zhangjianfang19910327/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjianfang19910327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjianfang19910327/subscriptions","organizations_url":"https://api.github.com/users/zhangjianfang19910327/orgs","repos_url":"https://api.github.com/users/zhangjianfang19910327/repos","events_url":"https://api.github.com/users/zhangjianfang19910327/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjianfang19910327/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-11T07:55:54Z","updated_at":"2018-10-11T13:48:45Z","closed_at":null,"author_association":"NONE","body":"**Issue type:**\r\n\r\nThe console prints this log when I compile the project\r\n\r\n```ts \r\n'type' is declared but its value is never read\r\n``` \r\n\r\n\r\n**Database system/driver:**\r\n\r\n\r\n[ ] `mysql` / `mariadb`\r\n\r\n\r\n**TypeORM version:**\r\n\r\n[ ] `latest`\r\n\r\n\r\n\r\n ```ts\r\n@Entity()\r\nexport class Category {\r\n\r\n    @PrimaryGeneratedColumn()\r\n    id: number;\r\n\r\n    @Column({default:\"default\"})\r\n    name: string;\r\n\r\n    @ManyToMany(type => Question, question => question.categories)\r\n    questions: Question[];\r\n}\r\n```\r\nI can only modify these configurations in the tsconfig file\r\n\"noUnusedLocals\": false,\r\n\"noUnusedParameters\": false\r\nBut my entire project couldn't capture that hint"},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/428962298","html_url":"https://github.com/typeorm/typeorm/issues/2915#issuecomment-428962298","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/2915","id":428962298,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODk2MjI5OA==","user":{"login":"svvac","id":129217,"node_id":"MDQ6VXNlcjEyOTIxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/129217?v=4","gravatar_id":"","url":"https://api.github.com/users/svvac","html_url":"https://github.com/svvac","followers_url":"https://api.github.com/users/svvac/followers","following_url":"https://api.github.com/users/svvac/following{/other_user}","gists_url":"https://api.github.com/users/svvac/gists{/gist_id}","starred_url":"https://api.github.com/users/svvac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svvac/subscriptions","organizations_url":"https://api.github.com/users/svvac/orgs","repos_url":"https://api.github.com/users/svvac/repos","events_url":"https://api.github.com/users/svvac/events{/privacy}","received_events_url":"https://api.github.com/users/svvac/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T13:48:45Z","updated_at":"2018-10-11T13:48:45Z","author_association":"NONE","body":"Simply use `@ManyToMany(() => Question, ...` instead."}}
{"actor":{"display_login":"svvac"}}