Mark private service properties declarated in ctors as readonly

This commit is contained in:
Matt Bierner
2019-01-04 10:57:55 -08:00
parent ad040a2f89
commit 087629786a
289 changed files with 1641 additions and 1641 deletions

View File

@@ -67,9 +67,9 @@ type Task = { (): Promise<void> };
class Main {
constructor(
@IEnvironmentService private environmentService: IEnvironmentService,
@IExtensionManagementService private extensionManagementService: IExtensionManagementService,
@IExtensionGalleryService private extensionGalleryService: IExtensionGalleryService
@IEnvironmentService private readonly environmentService: IEnvironmentService,
@IExtensionManagementService private readonly extensionManagementService: IExtensionManagementService,
@IExtensionGalleryService private readonly extensionGalleryService: IExtensionGalleryService
) { }
async run(argv: ParsedArgs): Promise<any> {