{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9335","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9335/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9335/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9335/events","html_url":"https://github.com/Microsoft/TypeScript/issues/9335","id":162018405,"number":9335,"title":"experimentalDecorators Typescript warning always present","user":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/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":13,"created_at":"2016-06-23T20:42:30Z","updated_at":"2016-07-07T00:21:37Z","closed_at":"2016-07-06T17:26:49Z","body":"_From @giacomorebonato on June 23, 2016 18:53_\n\n- VSCode Version: 1.3.0-insider\r\n- OS Version: El Capitan\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a Typescript project\r\n2. Use decorators (I am using [Mobx](https://mobxjs.github.io/mobx/best/syntax.html))  \r\n\r\nI keep seeing the warning:  \r\n```\r\n[ts] Experimental suport for decorators is a feature that is subject to chang in a future release. Set the 'experimentalDecoratos' option to remove this warning.\r\n``` \r\nWhere should I set this option? Because my tsconfig.json should be right  \r\n```\r\n{\r\n  \"compilerOptions\": {\r\n    \"target\": \"es5\",\r\n    \"module\": \"commonjs\",\r\n    \"declaration\": false,\r\n    \"noImplicitAny\": false,\r\n    \"removeComments\": false,\r\n    \"isolatedModules\": false,\r\n    \"jsx\": \"react\",\r\n    \"experimentalDecorators\": true,\r\n    \"emitDecoratorMetadata\": true,\r\n    \"noLib\": false,\r\n    \"preserveConstEnums\": true,\r\n    \"suppressImplicitAnyIndexErrors\": true,\r\n    \"outDir\": \"./dist/\"\r\n  },\r\n  \"exclude\": [\r\n    \"client\",\r\n    \"node_modules\",\r\n    \"typings/browser\",\r\n    \"typings/browser.d.ts\"\r\n  ]\r\n}\r\n```\r\n\n\n_Copied from original issue: Microsoft/vscode#8069_"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/230945891","html_url":"https://github.com/Microsoft/TypeScript/issues/9335#issuecomment-230945891","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9335","id":230945891,"user":{"login":"laurelnaiad","id":4078946,"avatar_url":"https://avatars.githubusercontent.com/u/4078946?v=3","gravatar_id":"","url":"https://api.github.com/users/laurelnaiad","html_url":"https://github.com/laurelnaiad","followers_url":"https://api.github.com/users/laurelnaiad/followers","following_url":"https://api.github.com/users/laurelnaiad/following{/other_user}","gists_url":"https://api.github.com/users/laurelnaiad/gists{/gist_id}","starred_url":"https://api.github.com/users/laurelnaiad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurelnaiad/subscriptions","organizations_url":"https://api.github.com/users/laurelnaiad/orgs","repos_url":"https://api.github.com/users/laurelnaiad/repos","events_url":"https://api.github.com/users/laurelnaiad/events{/privacy}","received_events_url":"https://api.github.com/users/laurelnaiad/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T00:21:37Z","updated_at":"2016-07-07T00:21:37Z","body":"> @laurelnaiad looks like your tsconfig.json has errors or the file you are working on is not included in this tsconfig.json (either excluded or not in the folder).\r\n\r\nHi @mhegazy. Hmm. As far as I know, those statements aren't true. \r\n\r\n```\r\n{\r\n    \"externalTranspiler\": {\r\n        \"name\": \"babel\",\r\n        \"options\": {}\r\n    },\r\n    \"buildOnSave\": false,\r\n    \"compileOnSave\": false,\r\n    \"indentSize\": 2,\r\n    \"tabSize\": 2,\r\n    \"compilerOptions\": {\r\n        \"suppressOutputPathCheck\": true,\r\n        \"baseUrl\": \".\",\r\n        \"noEmit\": false,\r\n        \"declaration\": false,\r\n        \"moduleResolution\": \"node\",\r\n        \"module\": \"commonjs\",\r\n        \"target\": \"es6\",\r\n        \"allowNonTsExtensions\": true,\r\n        \"experimentalDecorators\": true,\r\n        \"emitDecoratorMetadata\": true,\r\n        \"jsx\": \"react\",\r\n        \"removeComments\": false,\r\n        \"noLib\": false,\r\n        \"preserveConstEnums\": false,\r\n        \"suppressImplicitAnyIndexErrors\": true\r\n    },\r\n    \"filesGlob\": [\r\n        \"app/**/*.ts\"\r\n    ],\r\n    \"files\": [\r\n        \"app/routing.ts\"\r\n    ],\r\n    \"atom\": {\r\n        \"rewriteTsconfig\": false\r\n    }\r\n}\r\n\r\nI abbreviated the files and filesGlob.  The first symptom -- which I only see in VSCode, not elsewhere -- is that a module lie app/routing can't be located by vs code at 'app/routing' \r\n\r\n... and the second symptom is this ghost experimentalDecorators error -- again, only in VSCode.\r\n\r\nI've tried it with or without the `atom` and `externalTranspiler` properties, just in case they were cause the issue, to no effect. \r\n\r\nIs the above tsconfig invalid?"}}
{"actor":{"display_login":"laurelnaiad"}}