16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
// Metro module 1020 (f1021).
|
|
import * as _Promise from "./Promise_1019";
|
|
import { prototype, resolve } from "./Promise_1019";
|
|
module.exports = _Promise;
|
|
prototype.finally = function(c12631_0) {
|
|
return this.then(function(c23987_0) {
|
|
return resolve(c12631_0()).then(function() {
|
|
return c23987_0;
|
|
});
|
|
}, function(c23988_0) {
|
|
return resolve(c12631_0()).then(function() {
|
|
throw c23988_0;
|
|
});
|
|
});
|
|
};
|