import { UPDATE_STORAGE_EVENT } from '../../constants/events';

export const createUpdateStorageCustomEvent = (value: any, keyEvent: string) => new CustomEvent(UPDATE_STORAGE_EVENT, {
    detail: { value, keyEvent }
});