Urara-Blog/node_modules/.pnpm-store/v3/files/6a/637085ddd9365b0c49cfd61d8ad20aa7bcf26035086c753a3c29d91bc1fbfb6aff71ee8b4ab1665dd28c156c673dd964e8c3891959b113641ef95312b60271
2022-08-14 01:14:53 +08:00

16 lines
433 B
Text

/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
import {WorkboxPlugin} from '../types.js';
import '../_version.js';
export const pluginUtils = {
filter: (plugins: WorkboxPlugin[], callbackName: string): WorkboxPlugin[] => {
return plugins.filter((plugin) => callbackName in plugin);
},
};