alinea
Version:
Headless git-based CMS
17 lines (14 loc) • 454 B
JavaScript
import "../../chunks/chunk-NZLE2WMY.js";
// node_modules/@ungap/with-resolvers/index.js
Promise.withResolvers || (Promise.withResolvers = function withResolvers() {
var a, b, c = new this(function(resolve, reject) {
a = resolve;
b = reject;
});
return { resolve: a, reject: b, promise: c };
});
// src/dashboard/util/WithResolvers.ts
var withResolvers2 = Promise.withResolvers.bind(Promise);
export {
withResolvers2 as withResolvers
};