diff --git a/src/core/public/ui_settings/ui_settings_client.ts b/src/core/public/ui_settings/ui_settings_client.ts index a28a2fe8af700..7944f9ec69224 100644 --- a/src/core/public/ui_settings/ui_settings_client.ts +++ b/src/core/public/ui_settings/ui_settings_client.ts @@ -104,7 +104,7 @@ You can use \`IUiSettingsClient.get("${key}", defaultValue)\`, which will just r isDeclared(key: string) { return ( - // @ts-ignore + // @ts-expect-error (key !== '__proto__' || key !== 'constructor' || key !== 'prototype') && key in this.cache ); }