Skip to content

Instantly share code, notes, and snippets.

View asyncAction.js
/** @type {PayloadActionCreator<string>} */
const removeItemStarted = declareAction()
/** @type {PayloadActionCreator<string>} */
const removeItemCompleted = declareAction()
/** @type {PayloadActionCreator<string>} */
const removeItemFailed = declareAction()
/**
* @param {string} itemId
* @param {Store} store
You can’t perform that action at this time.