REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.04 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/src/connect/mapDispatchToProps.ts
Text
Base64
import type { Action, Dispatch } from 'redux' import bindActionCreators from '../utils/bindActionCreators' import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps' import { createInvalidArgFactory } from './invalidArgFactory' import type { MapDispatchToPropsParam } from './selectorFactory' export function mapDispatchToPropsFactory<TDispatchProps, TOwnProps>( mapDispatchToProps: | MapDispatchToPropsParam<TDispatchProps, TOwnProps> | undefined ) { return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? wrapMapToPropsConstant((dispatch: Dispatch<Action<unknown>>) => // @ts-ignore bindActionCreators(mapDispatchToProps, dispatch) ) : !mapDispatchToProps ? wrapMapToPropsConstant((dispatch: Dispatch<Action<unknown>>) => ({ dispatch, })) : typeof mapDispatchToProps === 'function' ? // @ts-ignore wrapMapToPropsFunc(mapDispatchToProps, 'mapDispatchToProps') : createInvalidArgFactory(mapDispatchToProps, 'mapDispatchToProps') }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
invalidArgFactory.ts
420 B
lrw-r--r--
2026-02-28 00:29:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mapDispatchToProps.ts
1.04 KB
lrw-r--r--
2026-02-28 00:29:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mapStateToProps.ts
623 B
lrw-r--r--
2026-02-28 00:29:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mergeProps.ts
2.09 KB
lrw-r--r--
2026-02-28 00:29:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
selectorFactory.ts
7.74 KB
lrw-r--r--
2026-02-28 00:29:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
verifySubselectors.ts
801 B
lrw-r--r--
2026-02-28 00:30:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wrapMapToProps.ts
3.95 KB
lrw-r--r--
2026-02-28 00:30:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).