mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08:00
Merge pull request #884 from AndrewGaspar/async
Async with external module support.
This commit is contained in:
commit
ca2e7dcfb6
2 files changed
+8
-1
No files matched your search
Vendored
+5
-1
@@ -75,4 +75,8 @@ interface Async {
|
||||
noConflict(): Async;
|
||||
}
|
||||
|
||||
declare var async: Async;
|
||||
declare var async: Async;
|
||||
|
||||
declare module "async" {
|
||||
export = async;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import async = require("async");
|
||||
|
||||
async.map(["a", "b", "c"], (item, cb) => cb(null, [item.toUpperCase()]), (err, results) => { });
|
||||
Reference in new issue
Block a user