{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10494","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10494/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10494/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10494/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10494","id":172667449,"number":10494,"title":"`_` prefix for unused locals","user":{"login":"falsandtru","id":3143368,"avatar_url":"https://avatars.githubusercontent.com/u/3143368?v=3","gravatar_id":"","url":"https://api.github.com/users/falsandtru","html_url":"https://github.com/falsandtru","followers_url":"https://api.github.com/users/falsandtru/followers","following_url":"https://api.github.com/users/falsandtru/following{/other_user}","gists_url":"https://api.github.com/users/falsandtru/gists{/gist_id}","starred_url":"https://api.github.com/users/falsandtru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falsandtru/subscriptions","organizations_url":"https://api.github.com/users/falsandtru/orgs","repos_url":"https://api.github.com/users/falsandtru/repos","events_url":"https://api.github.com/users/falsandtru/events{/privacy}","received_events_url":"https://api.github.com/users/falsandtru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Working%20as%20Intended","name":"Working as Intended","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T10:45:03Z","updated_at":"2016-08-23T22:52:59Z","closed_at":"2016-08-23T22:52:59Z","body":"The following code should be allowed by `_` prefix for declaration of nominal types.\r\n\r\n**TypeScript Version:**  master\r\n\r\n**Code**\r\n\r\n```ts\r\nclass C {\r\n  private _: void;\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\n```\r\n$ node built/local/tsc.js --noEmit --lib es6 --noUnusedLocals index.ts\r\n```\r\n\r\n**Actual behavior:** \r\n\r\n```\r\n$ node built/local/tsc.js --noEmit --lib es6 --noUnusedLocals index.ts\r\nindex.ts(2,11): error TS6133: '_' is declared but never used.\r\n```\r\n"}}
{"actor":{"display_login":"falsandtru"}}