{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/325","labels_url":"https://api.github.com/repos/palantir/tslint/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/325/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/325/events","html_url":"https://github.com/palantir/tslint/issues/325","id":57899734,"number":325,"title":"Incorrect unused variable error","user":{"login":"optical","id":767001,"avatar_url":"https://avatars.githubusercontent.com/u/767001?v=3","gravatar_id":"","url":"https://api.github.com/users/optical","html_url":"https://github.com/optical","followers_url":"https://api.github.com/users/optical/followers","following_url":"https://api.github.com/users/optical/following{/other_user}","gists_url":"https://api.github.com/users/optical/gists{/gist_id}","starred_url":"https://api.github.com/users/optical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optical/subscriptions","organizations_url":"https://api.github.com/users/optical/orgs","repos_url":"https://api.github.com/users/optical/repos","events_url":"https://api.github.com/users/optical/events{/privacy}","received_events_url":"https://api.github.com/users/optical/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-17T09:11:35Z","updated_at":"2015-04-22T23:16:38Z","closed_at":null,"body":"Very similar, if not the same as #237\r\n\r\nUsing the following contrived typescript file\r\n\r\n    /// <reference path=\"typings/node/node.d.ts\" />\r\n    import fs = require('fs');\r\n    import createWriteStream = fs.createWriteStream;\r\n    console.log(createWriteStream);\r\n\r\nWith these rules\r\n\r\n    {\r\n      \"rules\": {\r\n        \"no-unused-variable\": true\r\n      }\r\n    }\r\n\r\nWe get this error about fs being unused:\r\n`test.ts[1, 8]: unused variable: 'fs`\r\n\r\nThis has been the behavior since 1.0"},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/95364578","html_url":"https://github.com/palantir/tslint/issues/325#issuecomment-95364578","issue_url":"https://api.github.com/repos/palantir/tslint/issues/325","id":95364578,"user":{"login":"vsiao","id":980673,"avatar_url":"https://avatars.githubusercontent.com/u/980673?v=3","gravatar_id":"","url":"https://api.github.com/users/vsiao","html_url":"https://github.com/vsiao","followers_url":"https://api.github.com/users/vsiao/followers","following_url":"https://api.github.com/users/vsiao/following{/other_user}","gists_url":"https://api.github.com/users/vsiao/gists{/gist_id}","starred_url":"https://api.github.com/users/vsiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsiao/subscriptions","organizations_url":"https://api.github.com/users/vsiao/orgs","repos_url":"https://api.github.com/users/vsiao/repos","events_url":"https://api.github.com/users/vsiao/events{/privacy}","received_events_url":"https://api.github.com/users/vsiao/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T23:16:37Z","updated_at":"2015-04-22T23:16:37Z","body":"@ashwinr, can you link to the bug that you filed?"}}