Download wp-calypso/packages/data-stores/src/stepper-internal/actions.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/data-stores/src/stepper-internal/actions.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/data-stores/src/stepper-internal/actions.ts
-
curl -L -o actions.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/data-stores/src/stepper-internal/actions.ts
373 Bytes
| export const setStepData = ( data: any ) => ( { | |
| type: 'SET_STEP_DATA' as const, | |
| data, | |
| } ); | |
| export const clearStepData = () => ( { | |
| type: 'CLEAR_STEP_DATA' as const, | |
| } ); | |
| export type StepperInternalAction = | |
| | ReturnType< typeof setStepData | typeof clearStepData > | |
| // Type added so we can dispatch actions in tests, but has no runtime cost | |
| | { type: 'TEST_ACTION' }; | |