@types/web 0.0.146 → 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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +9 -1
  3. package/package.json +1 -1
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.146 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.146.
50
+ You can read what changed in version 0.0.148 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.148.
package/index.d.ts CHANGED
@@ -5754,6 +5754,8 @@ declare var ClipboardEvent: {
5754
5754
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem)
5755
5755
  */
5756
5756
  interface ClipboardItem {
5757
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) */
5758
+ readonly presentationStyle: PresentationStyle;
5757
5759
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) */
5758
5760
  readonly types: ReadonlyArray<string>;
5759
5761
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) */
@@ -5763,6 +5765,7 @@ interface ClipboardItem {
5763
5765
  declare var ClipboardItem: {
5764
5766
  prototype: ClipboardItem;
5765
5767
  new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
5768
+ supports(type: string): boolean;
5766
5769
  };
5767
5770
 
5768
5771
  /**
@@ -11432,6 +11435,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11432
11435
  charset: string;
11433
11436
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
11434
11437
  crossOrigin: string | null;
11438
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
11435
11439
  disabled: boolean;
11436
11440
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
11437
11441
  fetchPriority: string;
@@ -11451,7 +11455,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11451
11455
  imageSrcset: string;
11452
11456
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
11453
11457
  integrity: string;
11454
- /** Sets or retrieves the media type. */
11458
+ /**
11459
+ * Sets or retrieves the media type.
11460
+ *
11461
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
11462
+ */
11455
11463
  media: string;
11456
11464
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
11457
11465
  referrerPolicy: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.146",
3
+ "version": "0.0.148",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],