Merge pull request #884 from AndrewGaspar/async

Async with external module support.
This commit is contained in:
Boris Yankov
2013-08-18 13:28:53 -07:00
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -75,4 +75,8 @@ interface Async {
noConflict(): Async;
}
declare var async: Async;
declare var async: Async;
declare module "async" {
export = async;
}
+3
View File
@@ -0,0 +1,3 @@
import async = require("async");
async.map(["a", "b", "c"], (item, cb) => cb(null, [item.toUpperCase()]), (err, results) => { });