{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13382","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13382/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13382/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13382/events","html_url":"https://github.com/Microsoft/TypeScript/issues/13382","id":199761106,"number":13382,"title":"Different compile result between webstrom and eclipse","user":{"login":"Tmalou","id":19908627,"avatar_url":"https://avatars.githubusercontent.com/u/19908627?v=3","gravatar_id":"","url":"https://api.github.com/users/Tmalou","html_url":"https://github.com/Tmalou","followers_url":"https://api.github.com/users/Tmalou/followers","following_url":"https://api.github.com/users/Tmalou/following{/other_user}","gists_url":"https://api.github.com/users/Tmalou/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmalou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmalou/subscriptions","organizations_url":"https://api.github.com/users/Tmalou/orgs","repos_url":"https://api.github.com/users/Tmalou/repos","events_url":"https://api.github.com/users/Tmalou/events{/privacy}","received_events_url":"https://api.github.com/users/Tmalou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-10T08:36:05Z","updated_at":"2017-01-10T09:26:07Z","closed_at":"2017-01-10T09:26:07Z","body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**  2.1.1 / nightly (2.2.0-dev.201xxxxx)\r\n\r\n**Code**\r\nIn my tsconfig.json\r\n```json\r\n \"codeGenTarget\": 1, \r\n    \"emitBOM\": false, \r\n    \"emitDecoratorMetadata\": true, \r\n    \"experimentalDecorators\": true, \r\n    \"gatherDiagnostics\": false, \r\n    \"generateDeclarationFiles\": false, \r\n    \"lib\": [\r\n        \"dom\", \r\n        \"es6\"\r\n    ], \r\n    \"mapRoot\": \"\", \r\n    \"mapSourceFiles\": true, \r\n    \"moduleGenTarget\": 0, \r\n    \"noImplicitAny\": false, \r\n    \"noLib\": false, \r\n    \"noResolve\": false, \r\n    \"outDirOption\": \"\", \r\n    \"outFileOption\": \"\", \r\n    \"propagateEnumConstants\": false, \r\n    \"removeComments\": false, \r\n    \"sourceRoot\": \"\", \r\n    \"updateTC\": false, \r\n    \"useCaseSensitiveFileResolution\": false, \r\n    \"watch\": false\r\n\r\n```\r\nWhen using webstrom with angular2.0 to compile,I got the result  \r\n```js\r\n// A *self-contained* demonstration of the problem follows...\r\n   __decorate([\r\n    core_1.Output(),\r\n    __metadata(\"design:type\", core_1.EventEmitter)\r\n], AccordionTab.prototype, \"selectedChange\", void 0);\r\n```\r\nBut when using the eclipse with nothing to compile,I could got the result like this\r\n```js\r\n    __decorate([\r\n    core_1.Output(),\r\n    __metadata(\"design:type\", typeof (_d = typeof core_1.EventEmitter !== \"undefined\" && core_1.EventEmitter) === \"function\" && _d || Object)\r\n], AccordionTab.prototype, \"selectedChange\", void 0);\r\n\r\n```\r\n**ISSUE**:\r\nDid angular2.0  cause of that Difference? \r\n"}}
{"actor":{"display_login":"Tmalou"}}