MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / createAsyncTypes

Function createAsyncTypes

client/src/utils/create-types.ts:34–38  ·  view source on GitHub ↗
(action: string)

Source from the content-addressed store, hash-verified

32 * @returns {array} Names of action names.
33 */
34export const createAsyncTypes = (action: string): string[] => [
35 `${action}`,
36 `${action}Complete`,
37 `${action}Error`
38];

Callers 4

action-types.jsFile · 0.90
action-types.jsFile · 0.90
action-types.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected