mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Fix the test to make it compile.
This commit is contained in:
@@ -18,10 +18,10 @@ async.series([
|
||||
function () { }
|
||||
]);
|
||||
|
||||
var data;
|
||||
function asyncProcess() { }
|
||||
var data = [];
|
||||
function asyncProcess(item, callback) { }
|
||||
async.map(data, asyncProcess, function (err, results) {
|
||||
alert(results);
|
||||
console.log(results);
|
||||
});
|
||||
|
||||
var openFiles = ['file1', 'file2'];
|
||||
|
||||
Reference in New Issue
Block a user