@types/web 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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +8 -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.147 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.147.
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
  /**
@@ -11452,7 +11455,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11452
11455
  imageSrcset: string;
11453
11456
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
11454
11457
  integrity: string;
11455
- /** 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
+ */
11456
11463
  media: string;
11457
11464
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
11458
11465
  referrerPolicy: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.147",
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": [],