@types/sharedworker 0.0.70 → 0.0.71
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 +5 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.71 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.71.
|
package/index.d.ts
CHANGED
|
@@ -428,12 +428,12 @@ interface QueuingStrategyInit {
|
|
|
428
428
|
highWaterMark: number;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
interface
|
|
431
|
+
interface ReadableStreamReadDoneResult {
|
|
432
432
|
done: true;
|
|
433
433
|
value?: undefined;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
interface
|
|
436
|
+
interface ReadableStreamReadValueResult<T> {
|
|
437
437
|
done: false;
|
|
438
438
|
value: T;
|
|
439
439
|
}
|
|
@@ -2113,7 +2113,6 @@ interface NavigatorID {
|
|
|
2113
2113
|
readonly appName: string;
|
|
2114
2114
|
/** @deprecated */
|
|
2115
2115
|
readonly appVersion: string;
|
|
2116
|
-
/** @deprecated */
|
|
2117
2116
|
readonly platform: string;
|
|
2118
2117
|
/** @deprecated */
|
|
2119
2118
|
readonly product: string;
|
|
@@ -2130,10 +2129,6 @@ interface NavigatorLocks {
|
|
|
2130
2129
|
readonly locks: LockManager;
|
|
2131
2130
|
}
|
|
2132
2131
|
|
|
2133
|
-
interface NavigatorNetworkInformation {
|
|
2134
|
-
readonly connection: NetworkInformation;
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
2132
|
interface NavigatorOnLine {
|
|
2138
2133
|
readonly onLine: boolean;
|
|
2139
2134
|
}
|
|
@@ -2143,15 +2138,6 @@ interface NavigatorStorage {
|
|
|
2143
2138
|
readonly storage: StorageManager;
|
|
2144
2139
|
}
|
|
2145
2140
|
|
|
2146
|
-
interface NetworkInformation extends EventTarget {
|
|
2147
|
-
readonly type: ConnectionType;
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
declare var NetworkInformation: {
|
|
2151
|
-
prototype: NetworkInformation;
|
|
2152
|
-
new(): NetworkInformation;
|
|
2153
|
-
};
|
|
2154
|
-
|
|
2155
2141
|
interface NotificationEventMap {
|
|
2156
2142
|
"click": Event;
|
|
2157
2143
|
"close": Event;
|
|
@@ -2493,7 +2479,7 @@ declare var ReadableStreamDefaultController: {
|
|
|
2493
2479
|
};
|
|
2494
2480
|
|
|
2495
2481
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
2496
|
-
read(): Promise<
|
|
2482
|
+
read(): Promise<ReadableStreamReadResult<R>>;
|
|
2497
2483
|
releaseLock(): void;
|
|
2498
2484
|
}
|
|
2499
2485
|
|
|
@@ -5073,7 +5059,7 @@ declare var WorkerLocation: {
|
|
|
5073
5059
|
};
|
|
5074
5060
|
|
|
5075
5061
|
/** A subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator. */
|
|
5076
|
-
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks,
|
|
5062
|
+
interface WorkerNavigator extends NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage {
|
|
5077
5063
|
readonly mediaCapabilities: MediaCapabilities;
|
|
5078
5064
|
}
|
|
5079
5065
|
|
|
@@ -5560,7 +5546,7 @@ type NamedCurve = string;
|
|
|
5560
5546
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
5561
5547
|
type PerformanceEntryList = PerformanceEntry[];
|
|
5562
5548
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
|
|
5563
|
-
type
|
|
5549
|
+
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult;
|
|
5564
5550
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;
|
|
5565
5551
|
type RequestInfo = Request | string;
|
|
5566
5552
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
@@ -5573,7 +5559,6 @@ type BinaryType = "arraybuffer" | "blob";
|
|
|
5573
5559
|
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
|
|
5574
5560
|
type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
5575
5561
|
type ColorSpaceConversion = "default" | "none";
|
|
5576
|
-
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
|
|
5577
5562
|
type EndingType = "native" | "transparent";
|
|
5578
5563
|
type FileSystemHandleKind = "directory" | "file";
|
|
5579
5564
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|