Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
34
export
const
createAsyncTypes = (action: string): string[] => [
35
`${action}`,
36
`${action}Complete`,
37
`${action}Error`
38
];
Callers
4
create-types.test.ts
File · 0.90
action-types.js
File · 0.90
action-types.js
File · 0.90
action-types.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected