es6-promise - add .polyfill() method

This commit is contained in:
Umidbek Karimov
2015-10-12 15:17:04 +05:00
parent 22e65964cb
commit 95026bab3e
+1
View File
@@ -68,6 +68,7 @@ declare module 'es6-promise' {
var foo: typeof Promise; // Temp variable to reference Promise in local context
module rsvp {
export var Promise: typeof foo;
export function polyfill();
}
export = rsvp;
}