I am new to Angular2
When I renaming some file like app.states.ts to app.routes.ts then my editor is showing warning on one of my Componet. Result coming perfect, I did n't understood that why I am getting this warning.
I am using WEBSTROM IDe
Please help me to remove this warning
Add this option to your tsconfig.json
:
{
"compilerOptions": {
...
"experimentalDecorators": true,
...
}
}
I have the similar problem and I solved it, when I find 2 files "package.json" in project folder and in folder "UI". I removed file from "UI" folder and everything went properly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.