mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
🤖 Merge PR #46445 fix(workbox-webpack-plugin): fix typo by @aicest
Co-authored-by: Fai <aicest@users.noreply.github.com>
This commit is contained in:
parent
c52c3c9889
commit
a9714077ef
4
types/workbox-webpack-plugin/index.d.ts
vendored
4
types/workbox-webpack-plugin/index.d.ts
vendored
@ -427,9 +427,9 @@ export interface GenerateSWOptions extends CommonOptions {
|
||||
* Those URL parameters would normally cause the cache lookup to fail, since the URL strings used as cache keys would not be expected to include them.
|
||||
*
|
||||
* @default [/^utm_/]
|
||||
* @example ignoreUrlParametersMatching: [/./]
|
||||
* @example ignoreURLParametersMatching: [/./]
|
||||
*/
|
||||
ignoreUrlParametersMatching?: RegExp[];
|
||||
ignoreURLParametersMatching?: RegExp[];
|
||||
|
||||
/**
|
||||
* If a [navigation request](https://developers.google.com/web/fundamentals/primers/service-workers/high-performance-loading#first_what_are_navigation_requests)
|
||||
|
||||
@ -98,7 +98,7 @@ import webpack = require('webpack');
|
||||
navigationPreload: true,
|
||||
importScripts: ['push-notifications.abcd1234.js'],
|
||||
// This will ignore all parameters:
|
||||
ignoreUrlParametersMatching: [/./],
|
||||
ignoreURLParametersMatching: [/./],
|
||||
directoryIndex: 'index.html',
|
||||
cacheId: 'my-app',
|
||||
offlineGoogleAnalytics: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user