@types/web 0.0.95 → 0.0.97
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 +4 -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.
|
|
50
|
+
You can read what changed in version 0.0.97 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.97.
|
package/index.d.ts
CHANGED
|
@@ -3509,6 +3509,7 @@ interface CSSStyleDeclaration {
|
|
|
3509
3509
|
paddingLeft: string;
|
|
3510
3510
|
paddingRight: string;
|
|
3511
3511
|
paddingTop: string;
|
|
3512
|
+
page: string;
|
|
3512
3513
|
pageBreakAfter: string;
|
|
3513
3514
|
pageBreakBefore: string;
|
|
3514
3515
|
pageBreakInside: string;
|
|
@@ -17777,7 +17778,7 @@ interface WindowOrWorkerGlobalScope {
|
|
|
17777
17778
|
reportError(e: any): void;
|
|
17778
17779
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
17779
17780
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
17780
|
-
structuredClone(value:
|
|
17781
|
+
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
17781
17782
|
}
|
|
17782
17783
|
|
|
17783
17784
|
interface WindowSessionStorage {
|
|
@@ -18049,7 +18050,7 @@ declare var XPathEvaluator: {
|
|
|
18049
18050
|
|
|
18050
18051
|
interface XPathEvaluatorBase {
|
|
18051
18052
|
createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;
|
|
18052
|
-
createNSResolver(nodeResolver: Node):
|
|
18053
|
+
createNSResolver(nodeResolver: Node): Node;
|
|
18053
18054
|
evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;
|
|
18054
18055
|
}
|
|
18055
18056
|
|
|
@@ -19194,7 +19195,7 @@ declare function queueMicrotask(callback: VoidFunction): void;
|
|
|
19194
19195
|
declare function reportError(e: any): void;
|
|
19195
19196
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
19196
19197
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
19197
|
-
declare function structuredClone(value:
|
|
19198
|
+
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
19198
19199
|
declare var sessionStorage: Storage;
|
|
19199
19200
|
declare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
19200
19201
|
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|