diff --git a/packages/workbox-core/src/_private/allSettled.ts b/packages/workbox-core/src/_private/allSettled.ts index 80dfa5900..29ee7e7b8 100644 --- a/packages/workbox-core/src/_private/allSettled.ts +++ b/packages/workbox-core/src/_private/allSettled.ts @@ -18,8 +18,10 @@ export type PromiseResult = PromiseResolution | PromiseRejection; * https://github.com/es-shims/Promise.allSettled/blob/main/implementation.js * * which is (c) 2019 Jordan Harband and used under the terms of the MIT license. + * + * @private */ -export function allSettled( +function allSettled( iterable: Iterable>, ): Promise[]> { const values = Array.from(iterable); @@ -40,3 +42,5 @@ export function allSettled( }), ); } + +export {allSettled};