Download node_modules/call-bind-apply-helpers/index.js from kirimdata369/task-manager-pro: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/call-bind-apply-helpers/index.js
- Command line
-
hf download hf://spaces/kirimdata369/task-manager-pro/node_modules/call-bind-apply-helpers/index.js
-
curl -L -o index.js https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/call-bind-apply-helpers/index.js
511 Bytes
| ; | |
| var bind = require('function-bind'); | |
| var $TypeError = require('es-errors/type'); | |
| var $call = require('./functionCall'); | |
| var $actualApply = require('./actualApply'); | |
| /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ | |
| module.exports = function callBindBasic(args) { | |
| if (args.length < 1 || typeof args[0] !== 'function') { | |
| throw new $TypeError('a function is required'); | |
| } | |
| return $actualApply(bind, $call, args); | |
| }; | |