diff --git a/plugins/wazuh-core/public/services/state/types.ts b/plugins/wazuh-core/public/services/state/types.ts index 5887c23bc3..d80347ca1a 100644 --- a/plugins/wazuh-core/public/services/state/types.ts +++ b/plugins/wazuh-core/public/services/state/types.ts @@ -4,7 +4,7 @@ import { LifecycleService } from '../types'; export interface StateContainer { get: () => T; set: (value: T) => T; - remove: () => any; + remove: () => T; updater$: BehaviourSubject; subscribe: (callback: (value: T) => void) => Subscription; }