src/domain/error/usecase/clear-errors/actionCreators.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import type { ActionsUnion } from 'domain/common/store.helper'
import { createAction } from 'domain/common/store.helper'

export const ClearErrorsActions = {
  errorsCleared: () => createAction('error/errorsCleared')
}

export type ClearErrorsActionTypes = ActionsUnion<typeof ClearErrorsActions>