@types/web 0.0.256 → 0.0.257

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
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.256 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.256.
50
+ You can read what changed in version 0.0.257 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.257.
package/index.d.ts CHANGED
@@ -11722,7 +11722,7 @@ interface Event {
11722
11722
  */
11723
11723
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
11724
11724
  /**
11725
- * 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.
11725
+ * 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.
11726
11726
  *
11727
11727
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
11728
11728
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.256",
3
+ "version": "0.0.257",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -11711,7 +11711,7 @@ interface Event {
11711
11711
  */
11712
11712
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
11713
11713
  /**
11714
- * 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.
11714
+ * 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.
11715
11715
  *
11716
11716
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
11717
11717
  */
package/ts5.6/index.d.ts CHANGED
@@ -11722,7 +11722,7 @@ interface Event {
11722
11722
  */
11723
11723
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
11724
11724
  /**
11725
- * 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.
11725
+ * 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.
11726
11726
  *
11727
11727
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
11728
11728
  */