mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Made manifestTransforms accept a ReadonlyArray
This commit is contained in:
parent
279827ac2f
commit
84b76bf1eb
2
types/workbox-webpack-plugin/index.d.ts
vendored
2
types/workbox-webpack-plugin/index.d.ts
vendored
@ -255,7 +255,7 @@ declare namespace WorkboxWebpackPlugin {
|
||||
* One or more [`ManifestTransform`](https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-build#.ManifestTransform) functions, which will be applied sequentially against the generated manifest.
|
||||
* If `modifyUrlPrefix` or `dontCacheBustUrlsMatching` are also specified, their corresponding transformations will be applied first.
|
||||
*/
|
||||
manifestTransforms?: ((originalManifest: ManifestEntry[]) => { manifest: ManifestEntry[], warnings?: string[] })[] | null;
|
||||
manifestTransforms?: ((originalManifest: ReadonlyArray<ManifestEntry>) => { manifest: ManifestEntry[], warnings?: string[] })[] | null;
|
||||
}
|
||||
|
||||
export interface GenerateSWOptions extends CommonOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user