-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tsconfig.json "experimentalDecorators" was ignored in subfolder #45411
Comments
I can't repo this in a simple project. In |
@mjbvz i get the message "The file is not part of a type script project" If I move the tsconfig. json into the src folder, the warning disappears and I move the tsconfig. json into root folder the warning comes out again. That may not matter, but |
Two more things to try:
{
"compilerOptions": {
"allowJs": true,
"experimentalDecorators": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
]
}
|
I tried these two things but unfortunately without success. I'm beginning to think it must be typescript, because I can reproduce the same error in the Atom Editor. My used Typescript version is now 2.8.0-dev.20180318 |
Ok this is not an Error its my Fault. When i add the src Folder to the include it works. {
"compilerOptions": {
"allowJs": true,
"experimentalDecorators": true
},
"include": [
"src/**/*"
]
} Thanks for your time. |
Steps to Reproduce:
What happens if the type script file is located in the directory where the tsconfig. json is located, no warning will be displayed if not then a warning will be displayed, as if the settings of tsconfig. json are ignored.
The text was updated successfully, but these errors were encountered: