remove some vscode differences (#12146)

This commit is contained in:
Anthony Dresser
2020-09-04 18:04:30 -07:00
committed by GitHub
parent 503090856a
commit 704222b8d7
31 changed files with 1118 additions and 66 deletions

View File

@@ -103,7 +103,7 @@ ExtensionsRegistry.registerExtensionPoint<IDashboardContainerContrib | IDashboar
for (const extension of extensions) {
const { value } = extension;
if (Array.isArray<IDashboardContainerContrib>(value)) {
if (Array.isArray(value)) {
for (const command of value) {
handleCommand(command, extension);
}

View File

@@ -161,7 +161,7 @@ ExtensionsRegistry.registerExtensionPoint<IDashboardTabContrib | IDashboardTabCo
for (const extension of extensions) {
const { value } = extension;
if (Array.isArray<IDashboardTabContrib>(value)) {
if (Array.isArray(value)) {
for (const command of value) {
handleTab(command, extension);
}
@@ -215,7 +215,7 @@ ExtensionsRegistry.registerExtensionPoint<IDashboardTabContrib | IDashboardTabCo
for (const extension of extensions) {
const { value } = extension;
if (Array.isArray<IDashboardTabGroupContrib>(value)) {
if (Array.isArray(value)) {
for (const command of value) {
handleTabGroup(command, extension);
}

View File

@@ -298,7 +298,7 @@ ExtensionsRegistry.registerExtensionPoint<ProviderProperties | ProviderPropertie
for (let extension of extensions) {
const { value } = extension;
if (Array.isArray<ProviderProperties>(value)) {
if (Array.isArray(value)) {
for (let command of value) {
handleCommand(command, extension);
}

View File

@@ -37,7 +37,7 @@ ExtensionsRegistry.registerExtensionPoint<IInsightTypeContrib | IInsightTypeCont
for (const extension of extensions) {
const { value } = extension;
if (Array.isArray<IInsightTypeContrib>(value)) {
if (Array.isArray(value)) {
for (const command of value) {
handleCommand(command, extension);
}