While browsing through the VS Code source code, I stumbled upon the following snippet: https://github.com/microsoft/vscode/blob/5da4d93f579f3fadbaf835d79dc47d54c0d6b6b4/src/vs/workbench/contrib/comments/browser/commentsEditorContribution.ts#L166
It appears that ICommentService
is being used as an interface. However, I was under the impression that interfaces cannot be decorators.
https://www.typescriptlang.org/docs/handbook/decorators.html#parameter-decorators
Could someone explain what @ICommentService
signifies in this context?