@types/serviceworker 0.0.147 → 0.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.147 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.147.
31
+ You can read what changed in version 0.0.148 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.148.
package/index.d.ts CHANGED
@@ -3349,7 +3349,7 @@ interface Event {
3349
3349
  */
3350
3350
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3351
3351
  /**
3352
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3352
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3353
3353
  *
3354
3354
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3355
3355
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.147",
3
+ "version": "0.0.148",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -3349,7 +3349,7 @@ interface Event {
3349
3349
  */
3350
3350
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3351
3351
  /**
3352
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3352
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3353
3353
  *
3354
3354
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3355
3355
  */
package/ts5.6/index.d.ts CHANGED
@@ -3349,7 +3349,7 @@ interface Event {
3349
3349
  */
3350
3350
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3351
3351
  /**
3352
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3352
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3353
3353
  *
3354
3354
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3355
3355
  */