mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-16 12:50:42 +08:00
Update es6-promises.d.ts
This commit is contained in:
1 parent
b34cae36a7
commit
c8015453b5
1 file changed
+4
-4
Vendored
+4
-4
@@ -1,5 +1,5 @@
|
||||
// Type definitions for es6-promises
|
||||
// Project: https://github.com/jakearchibald/ES6-Promises
|
||||
// Type definitions for es6-promise
|
||||
// Project: https://github.com/jakearchibald/ES6-Promise
|
||||
// Definitions by: François de Campredon <https://github.com/fdecampredon/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
@@ -132,10 +132,10 @@ declare module Promise {
|
||||
function race<R>(promises: Promise<R>[]): Promise<R>;
|
||||
}
|
||||
|
||||
declare module 'es6-promises' {
|
||||
declare module 'es6-promise' {
|
||||
var foo: typeof Promise; // Temp variable to reference Promise in local context
|
||||
module rsvp {
|
||||
export var Promise: typeof foo;
|
||||
}
|
||||
export = rsvp;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user