@types/web 0.0.147 → 0.0.149
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 +1 -1
- package/index.d.ts +13 -5
- 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.
|
|
50
|
+
You can read what changed in version 0.0.149 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.149.
|
package/index.d.ts
CHANGED
|
@@ -669,10 +669,6 @@ interface ImageEncodeOptions {
|
|
|
669
669
|
type?: string;
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
interface ImportMeta {
|
|
673
|
-
url: string;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
672
|
interface InputEventInit extends UIEventInit {
|
|
677
673
|
data?: string | null;
|
|
678
674
|
dataTransfer?: DataTransfer | null;
|
|
@@ -5754,6 +5750,8 @@ declare var ClipboardEvent: {
|
|
|
5754
5750
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem)
|
|
5755
5751
|
*/
|
|
5756
5752
|
interface ClipboardItem {
|
|
5753
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) */
|
|
5754
|
+
readonly presentationStyle: PresentationStyle;
|
|
5757
5755
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) */
|
|
5758
5756
|
readonly types: ReadonlyArray<string>;
|
|
5759
5757
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) */
|
|
@@ -5763,6 +5761,7 @@ interface ClipboardItem {
|
|
|
5763
5761
|
declare var ClipboardItem: {
|
|
5764
5762
|
prototype: ClipboardItem;
|
|
5765
5763
|
new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
|
|
5764
|
+
supports(type: string): boolean;
|
|
5766
5765
|
};
|
|
5767
5766
|
|
|
5768
5767
|
/**
|
|
@@ -11452,7 +11451,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11452
11451
|
imageSrcset: string;
|
|
11453
11452
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
11454
11453
|
integrity: string;
|
|
11455
|
-
/**
|
|
11454
|
+
/**
|
|
11455
|
+
* Sets or retrieves the media type.
|
|
11456
|
+
*
|
|
11457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
|
|
11458
|
+
*/
|
|
11456
11459
|
media: string;
|
|
11457
11460
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
|
|
11458
11461
|
referrerPolicy: string;
|
|
@@ -14554,6 +14557,11 @@ declare var ImageData: {
|
|
|
14554
14557
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
14555
14558
|
};
|
|
14556
14559
|
|
|
14560
|
+
interface ImportMeta {
|
|
14561
|
+
url: string;
|
|
14562
|
+
resolve(specifier: string): string;
|
|
14563
|
+
}
|
|
14564
|
+
|
|
14557
14565
|
/**
|
|
14558
14566
|
* Available only in secure contexts.
|
|
14559
14567
|
*
|