diff --git a/plugins/wazuh-core/public/utils/configuration-store.ts b/plugins/wazuh-core/public/utils/configuration-store.ts index 51ba05f557..993ed745d1 100644 --- a/plugins/wazuh-core/public/utils/configuration-store.ts +++ b/plugins/wazuh-core/public/utils/configuration-store.ts @@ -90,7 +90,6 @@ export class ConfigurationStore implements IConfigurationStore { }; for (const setting of settings) { - // eslint-disable-next-line @typescript-eslint/no-dynamic-delete delete updatedSettings[setting]; } diff --git a/tsconfig.json b/tsconfig.json index 9b8bad09c2..e584359561 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "downlevelIteration": true }, "include": ["plugins/**/public", "plugins/**/server", "plugins/**/common"] }