mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Allow nodeFn.apply to accept an IArguments in addition to arrays
This commit is contained in:
1 parent
0dd29bf825
commit
cfc3e22a3d
2 files changed
+10
-6
No files matched your search
@@ -380,6 +380,10 @@ example = function () {
|
||||
|
||||
promise = nodefn.apply(nodeFn2, [1, '2']);
|
||||
|
||||
example = function() {
|
||||
nodefn.apply(fs.read, arguments);
|
||||
}
|
||||
|
||||
example = function () {
|
||||
var loadPasswd = nodefn.apply(fs.readFile, ['/etc/passwd']);
|
||||
|
||||
|
||||
Reference in new issue
Block a user