{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/28383","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/28383/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/28383/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/28383/events","html_url":"https://github.com/Microsoft/TypeScript/issues/28383","id":378023213,"node_id":"MDU6SXNzdWUzNzgwMjMyMTM=","number":28383,"title":"\"Unique symbol as the name of a private method\" results in invalid .d.ts declaration","user":{"login":"aleclarson","id":1925840,"node_id":"MDQ6VXNlcjE5MjU4NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1925840?v=4","gravatar_id":"","url":"https://api.github.com/users/aleclarson","html_url":"https://github.com/aleclarson","followers_url":"https://api.github.com/users/aleclarson/followers","following_url":"https://api.github.com/users/aleclarson/following{/other_user}","gists_url":"https://api.github.com/users/aleclarson/gists{/gist_id}","starred_url":"https://api.github.com/users/aleclarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleclarson/subscriptions","organizations_url":"https://api.github.com/users/aleclarson/orgs","repos_url":"https://api.github.com/users/aleclarson/repos","events_url":"https://api.github.com/users/aleclarson/events{/privacy}","received_events_url":"https://api.github.com/users/aleclarson/received_events","type":"User","site_admin":false},"labels":[{"id":113970366,"node_id":"MDU6TGFiZWwxMTM5NzAzNjY=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":670961382,"node_id":"MDU6TGFiZWw2NzA5NjEzODI=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20Declaration%20Emit","name":"Domain: Declaration Emit","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-06T20:37:54Z","updated_at":"2018-11-26T22:52:53Z","closed_at":null,"author_association":"NONE","body":"<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:**  3.1.6 or 3.2.0-dev.20181106\r\n\r\n<!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n- unique symbol\r\n- private class method name\r\n- private symbol bad export\r\n- bad code generation\r\n\r\n&nbsp;\r\n\r\n## Use case\r\nUsing a `unique symbol` as the name of a private class method (on an exported class)\r\n\r\n&nbsp;\r\n\r\n## Issue\r\nThe private method is _incorrectly_ exposed in the `.d.ts` module; as in, the unique symbol is used in the `.d.ts` module but never declared.\r\n\r\nThis means the exported class cannot be used by other TypeScript packages without a compiler error.\r\n\r\n### [_Link to repro_](https://github.com/aleclarson/repro/tree/ts-issue-28383)\r\n\r\n&nbsp;\r\n\r\n## Related Issues\r\n*Unknown*"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/441831509","html_url":"https://github.com/Microsoft/TypeScript/issues/28383#issuecomment-441831509","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/28383","id":441831509,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTgzMTUwOQ==","user":{"login":"weswigham","id":2932786,"node_id":"MDQ6VXNlcjI5MzI3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/2932786?v=4","gravatar_id":"","url":"https://api.github.com/users/weswigham","html_url":"https://github.com/weswigham","followers_url":"https://api.github.com/users/weswigham/followers","following_url":"https://api.github.com/users/weswigham/following{/other_user}","gists_url":"https://api.github.com/users/weswigham/gists{/gist_id}","starred_url":"https://api.github.com/users/weswigham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswigham/subscriptions","organizations_url":"https://api.github.com/users/weswigham/orgs","repos_url":"https://api.github.com/users/weswigham/repos","events_url":"https://api.github.com/users/weswigham/events{/privacy}","received_events_url":"https://api.github.com/users/weswigham/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T22:52:53Z","updated_at":"2018-11-26T22:52:53Z","author_association":"MEMBER","body":"Aye, that's what's supposed to happen for private symbol named things."}}
{"actor":{"display_login":"weswigham"}}