mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08:00
Update es6-promises.d.ts
This commit is contained in:
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