{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10084","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10084/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10084/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10084/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10084","id":168807594,"number":10084,"title":"--experimentalDecorators flag seemingly not accepted from tsconfig.json","user":{"login":"thenoseman","id":100459,"avatar_url":"https://avatars.githubusercontent.com/u/100459?v=3","gravatar_id":"","url":"https://api.github.com/users/thenoseman","html_url":"https://github.com/thenoseman","followers_url":"https://api.github.com/users/thenoseman/followers","following_url":"https://api.github.com/users/thenoseman/following{/other_user}","gists_url":"https://api.github.com/users/thenoseman/gists{/gist_id}","starred_url":"https://api.github.com/users/thenoseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenoseman/subscriptions","organizations_url":"https://api.github.com/users/thenoseman/orgs","repos_url":"https://api.github.com/users/thenoseman/repos","events_url":"https://api.github.com/users/thenoseman/events{/privacy}","received_events_url":"https://api.github.com/users/thenoseman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Needs%20More%20Info","name":"Needs More Info","color":"556b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-02T06:15:04Z","updated_at":"2016-09-08T17:47:14Z","closed_at":"2016-09-08T17:47:14Z","body":"**TypeScript Version:**  2.0.0 (also 2.1.0-dev.20160801)\r\n\r\n**Code**\r\n\r\n```ts\r\n// See full reduced example at https://github.com/thenoseman/typescript-2.0.0-exper-dec-error\r\n\r\ntsconfig.json:\r\n{\r\n  \"compilerOptions\": {\r\n    \"experimentalDecorators\": true\r\n  }\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n- Compiling the demonstration file (app.component.ts) via ``node_modules/.bin/tsc`` should not raise error TS1219 because ``experimentalDecorators`` option is set in tsonfig.json.\r\n\r\n**Actual behavior:** \r\n- error raised:\r\n```\r\n❯ node_modules/.bin/tsc app.component.ts                                                                        N 6.3.1\r\napp.component.ts(7,14): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.\r\n```\r\n\r\nUsing ``node_modules/.bin/tsc --experimentalDecorators app.component.ts `` works though.\r\n\r\nThis might be expected behaviour or I could have missed something. If so please close this issue.\r\n\r\nThanks for your hard work to give us all safer javascript!\r\n\r\nFrank"}}
{"actor":{"display_login":"mhegazy"}}