Skip to content

Instantly share code, notes, and snippets.

/** @type {PayloadActionCreator<string>} */
const removeItemStarted = declareAction()
/** @type {PayloadActionCreator<string>} */
const removeItemCompleted = declareAction()
/** @type {PayloadActionCreator<string>} */
const removeItemFailed = declareAction()
/**
* @param {string} itemId
* @param {Store} store