{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/25786","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/25786/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/25786/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/25786/events","html_url":"https://github.com/Microsoft/TypeScript/issues/25786","id":342571710,"node_id":"MDU6SXNzdWUzNDI1NzE3MTA=","number":25786,"title":"unexpected generated export with semicolon","user":{"login":"yeliex","id":8470242,"node_id":"MDQ6VXNlcjg0NzAyNDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8470242?v=4","gravatar_id":"","url":"https://api.github.com/users/yeliex","html_url":"https://github.com/yeliex","followers_url":"https://api.github.com/users/yeliex/followers","following_url":"https://api.github.com/users/yeliex/following{/other_user}","gists_url":"https://api.github.com/users/yeliex/gists{/gist_id}","starred_url":"https://api.github.com/users/yeliex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeliex/subscriptions","organizations_url":"https://api.github.com/users/yeliex/orgs","repos_url":"https://api.github.com/users/yeliex/repos","events_url":"https://api.github.com/users/yeliex/events{/privacy}","received_events_url":"https://api.github.com/users/yeliex/received_events","type":"User","site_admin":false},"labels":[{"id":371615203,"node_id":"MDU6TGFiZWwzNzE2MTUyMDM=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Working%20as%20Intended","name":"Working as Intended","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-19T04:05:26Z","updated_at":"2018-07-30T16:23:01Z","closed_at":"2018-07-30T16:23:01Z","author_association":"NONE","body":"<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:**  2.9.2\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\r\n**Code**\r\n\r\n```ts\r\nexport namespace Types {\r\n    export interface Interface {\r\n        name: string\r\n    };\r\n}\r\n\r\nexport default class Test {\r\n    constructor(props:Types.Interface) {\r\n    }\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\ntsc output:\r\n```js\r\nexport default class Test {\r\n    constructor(props) {\r\n    }\r\n}\r\n```\r\n**Actual behavior:**\r\ntsc output:\r\n```js\r\nexport var Types;\r\n(function (Types) {\r\n    ;\r\n})(Types || (Types = {}));\r\nexport default class Test {\r\n    constructor(props) {\r\n    }\r\n}\r\n```\r\n**Why export Types with semicolon in namespace? It should be ignored**"}}
{"actor":{"display_login":"typescript-bot"}}