Fix some no unsafe assignment errors in azurecore (#22643)

This commit is contained in:
Charles Gagnon
2023-04-06 16:50:24 -07:00
committed by GitHub
parent 5ae0e3a503
commit 6a2ec12a35
10 changed files with 43 additions and 20 deletions

View File

@@ -97,7 +97,7 @@ export class AzureResourceService {
}
for (const extension of extensions.all) {
const contributes = extension.packageJSON && extension.packageJSON.contributes;
const contributes = extension.packageJSON.contributes as { [key: string]: string } | undefined;
if (!contributes) {
continue;
}