In an Angular (v10) project creating a blank file (sync.service.ts) and adding this code:
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class SyncService {
}
gives this warning:
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.
I opened a random file (tag-cloud.component.ts) and added an import statement:
import { SyncService } from '../../services/sync.service';
The warning goes away. But the warning message shouldn't appear at all because of:
@Injectable({
providedIn: 'root'
})
Please see the gif below. Is this a bug?
Version: 1.47.1
Commit: 485c41f9460bdb830c4da12c102daff275415b53
Date: 2020-07-14T00:13:57.513Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-40-generic
