Async with external module support.

This commit is contained in:
Andrew Gaspar
2013-08-18 03:54:59 -05:00
parent 9804057326
commit 1eab71a53a
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) => { });