REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 801 B
Close
/home/byroehnu/.trash/node_modules11/react-redux/src/connect/verifySubselectors.ts
Text
Base64
import warning from '../utils/warning' function verify(selector: unknown, methodName: string): void { if (!selector) { throw new Error(`Unexpected value for ${methodName} in connect.`) } else if ( methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps' ) { if (!Object.prototype.hasOwnProperty.call(selector, 'dependsOnOwnProps')) { warning( `The selector for ${methodName} of connect did not specify a value for dependsOnOwnProps.` ) } } } export default function verifySubselectors( mapStateToProps: unknown, mapDispatchToProps: unknown, mergeProps: unknown ): void { verify(mapStateToProps, 'mapStateToProps') verify(mapDispatchToProps, 'mapDispatchToProps') verify(mergeProps, 'mergeProps') }
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).