-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Experimental support for decorators is a feature that is subject to change ... #102874
Comments
@msegmx can you show what is in your TL;DR; If file is not part of A bit more details in similar answer |
I created the project recently with "ng new" (Angular 10). tsconfig.json:
tsconfig.app.json:
tsconfig.base.json:
|
Yep, most likely that's the same problem described in that comment, but different observed result (I think you should have problem with auto-import of this file too). This issue has nothing to do with VS Code and most likely is not TS issue (because it's works as expected now - only files from At this point proper solution mentioned in doc linked in microsoft/TypeScript#39632 in section 1. Unreferenced files don’t inherit compiler options |
Indeed I have had problems with auto-completion. Thank you so much for shedding light on this issue. Turns out every Angular developer using v10 should be aware of these changes that come with the "solutions style tsconfig" approach. I prefer not to change the tsconfig files, but rather will continue to temporarily import the new file (service) until I actually import and use it in a component, etc. But at least I know now why this warning happens. |
Steps to Reproduce:
A warning message appears:
The warning message shouldn't appear because of:
Meaning this class (SyncService) doesn't have to be referenced anywhere else in the project to run as a service. Please note, there are other (earlier created) services in the project which doesn't get this warning.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: