typescript 5.6.0-dev.20240718 → 5.6.0-dev.20240719
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/lib/lib.dom.d.ts +349 -858
- package/lib/lib.dom.iterable.d.ts +2 -6
- package/lib/lib.webworker.d.ts +79 -100
- package/lib/lib.webworker.iterable.d.ts +1 -5
- package/lib/tsc.js +1 -1
- package/lib/typescript.js +4 -3
- package/package.json +2 -2
|
@@ -209,11 +209,7 @@ interface MediaList {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
interface MessageEvent<T = any> {
|
|
212
|
-
/**
|
|
213
|
-
* @deprecated
|
|
214
|
-
*
|
|
215
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
216
|
-
*/
|
|
212
|
+
/** @deprecated */
|
|
217
213
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
218
214
|
}
|
|
219
215
|
|
|
@@ -266,7 +262,7 @@ interface PluginArray {
|
|
|
266
262
|
|
|
267
263
|
interface RTCRtpTransceiver {
|
|
268
264
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
|
269
|
-
setCodecPreferences(codecs: Iterable<
|
|
265
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
|
|
270
266
|
}
|
|
271
267
|
|
|
272
268
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -340,10 +340,6 @@ interface ImageEncodeOptions {
|
|
|
340
340
|
type?: string;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
interface ImportMeta {
|
|
344
|
-
url: string;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
343
|
interface JsonWebKey {
|
|
348
344
|
alg?: string;
|
|
349
345
|
crv?: string;
|
|
@@ -414,6 +410,10 @@ interface MediaEncodingConfiguration extends MediaConfiguration {
|
|
|
414
410
|
type: MediaEncodingType;
|
|
415
411
|
}
|
|
416
412
|
|
|
413
|
+
interface MediaStreamTrackProcessorInit {
|
|
414
|
+
maxBufferSize?: number;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
417
|
interface MessageEventInit<T = any> extends EventInit {
|
|
418
418
|
data?: T;
|
|
419
419
|
lastEventId?: string;
|
|
@@ -1667,6 +1667,8 @@ interface CanvasShadowStyles {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
|
|
1669
1669
|
interface CanvasState {
|
|
1670
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
|
|
1671
|
+
isContextLost(): boolean;
|
|
1670
1672
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
|
|
1671
1673
|
reset(): void;
|
|
1672
1674
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
|
|
@@ -2000,9 +2002,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
2000
2002
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
2001
2003
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
2002
2004
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
2003
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
2004
2005
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
2005
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
2006
2006
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
2007
2007
|
skewXSelf(sx?: number): DOMMatrix;
|
|
2008
2008
|
skewYSelf(sy?: number): DOMMatrix;
|
|
@@ -2019,88 +2019,48 @@ declare var DOMMatrix: {
|
|
|
2019
2019
|
|
|
2020
2020
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
|
|
2021
2021
|
interface DOMMatrixReadOnly {
|
|
2022
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */
|
|
2023
2022
|
readonly a: number;
|
|
2024
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */
|
|
2025
2023
|
readonly b: number;
|
|
2026
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */
|
|
2027
2024
|
readonly c: number;
|
|
2028
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */
|
|
2029
2025
|
readonly d: number;
|
|
2030
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */
|
|
2031
2026
|
readonly e: number;
|
|
2032
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */
|
|
2033
2027
|
readonly f: number;
|
|
2034
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
2035
2028
|
readonly is2D: boolean;
|
|
2036
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
2037
2029
|
readonly isIdentity: boolean;
|
|
2038
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */
|
|
2039
2030
|
readonly m11: number;
|
|
2040
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */
|
|
2041
2031
|
readonly m12: number;
|
|
2042
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */
|
|
2043
2032
|
readonly m13: number;
|
|
2044
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */
|
|
2045
2033
|
readonly m14: number;
|
|
2046
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */
|
|
2047
2034
|
readonly m21: number;
|
|
2048
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */
|
|
2049
2035
|
readonly m22: number;
|
|
2050
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */
|
|
2051
2036
|
readonly m23: number;
|
|
2052
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */
|
|
2053
2037
|
readonly m24: number;
|
|
2054
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */
|
|
2055
2038
|
readonly m31: number;
|
|
2056
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */
|
|
2057
2039
|
readonly m32: number;
|
|
2058
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */
|
|
2059
2040
|
readonly m33: number;
|
|
2060
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */
|
|
2061
2041
|
readonly m34: number;
|
|
2062
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */
|
|
2063
2042
|
readonly m41: number;
|
|
2064
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */
|
|
2065
2043
|
readonly m42: number;
|
|
2066
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */
|
|
2067
2044
|
readonly m43: number;
|
|
2068
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */
|
|
2069
2045
|
readonly m44: number;
|
|
2070
2046
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
2071
2047
|
flipX(): DOMMatrix;
|
|
2072
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
2073
2048
|
flipY(): DOMMatrix;
|
|
2074
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
2075
2049
|
inverse(): DOMMatrix;
|
|
2076
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
2077
2050
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
2078
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
|
|
2079
2051
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
2080
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
|
|
2081
2052
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
2082
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
|
|
2083
2053
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
2084
2054
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
|
|
2085
2055
|
scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
2086
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */
|
|
2087
2056
|
scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
2088
|
-
/**
|
|
2089
|
-
* @deprecated
|
|
2090
|
-
*
|
|
2091
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)
|
|
2092
|
-
*/
|
|
2057
|
+
/** @deprecated */
|
|
2093
2058
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
2094
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
|
|
2095
2059
|
skewX(sx?: number): DOMMatrix;
|
|
2096
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
|
|
2097
2060
|
skewY(sy?: number): DOMMatrix;
|
|
2098
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
2099
2061
|
toFloat32Array(): Float32Array;
|
|
2100
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
2101
2062
|
toFloat64Array(): Float64Array;
|
|
2102
2063
|
toJSON(): any;
|
|
2103
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
2104
2064
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
2105
2065
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
2106
2066
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -2143,7 +2103,6 @@ interface DOMPointReadOnly {
|
|
|
2143
2103
|
readonly y: number;
|
|
2144
2104
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
2145
2105
|
readonly z: number;
|
|
2146
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
2147
2106
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
2148
2107
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
2149
2108
|
toJSON(): any;
|
|
@@ -2158,15 +2117,10 @@ declare var DOMPointReadOnly: {
|
|
|
2158
2117
|
|
|
2159
2118
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
|
|
2160
2119
|
interface DOMQuad {
|
|
2161
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
2162
2120
|
readonly p1: DOMPoint;
|
|
2163
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
|
|
2164
2121
|
readonly p2: DOMPoint;
|
|
2165
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
|
|
2166
2122
|
readonly p3: DOMPoint;
|
|
2167
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
|
|
2168
2123
|
readonly p4: DOMPoint;
|
|
2169
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
|
|
2170
2124
|
getBounds(): DOMRect;
|
|
2171
2125
|
toJSON(): any;
|
|
2172
2126
|
}
|
|
@@ -2189,6 +2143,7 @@ interface DOMRect extends DOMRectReadOnly {
|
|
|
2189
2143
|
declare var DOMRect: {
|
|
2190
2144
|
prototype: DOMRect;
|
|
2191
2145
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2146
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
|
|
2192
2147
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
2193
2148
|
};
|
|
2194
2149
|
|
|
@@ -2414,15 +2369,10 @@ declare var EncodedVideoChunk: {
|
|
|
2414
2369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2415
2370
|
*/
|
|
2416
2371
|
interface ErrorEvent extends Event {
|
|
2417
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
2418
2372
|
readonly colno: number;
|
|
2419
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
2420
2373
|
readonly error: any;
|
|
2421
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
2422
2374
|
readonly filename: string;
|
|
2423
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
2424
2375
|
readonly lineno: number;
|
|
2425
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
2426
2376
|
readonly message: string;
|
|
2427
2377
|
}
|
|
2428
2378
|
|
|
@@ -3739,7 +3689,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
3739
3689
|
/**
|
|
3740
3690
|
* Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
|
|
3741
3691
|
*
|
|
3742
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
3692
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
|
|
3743
3693
|
*/
|
|
3744
3694
|
readonly objectStoreNames: DOMStringList;
|
|
3745
3695
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -3866,6 +3816,11 @@ declare var ImageData: {
|
|
|
3866
3816
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
3867
3817
|
};
|
|
3868
3818
|
|
|
3819
|
+
interface ImportMeta {
|
|
3820
|
+
url: string;
|
|
3821
|
+
resolve(specifier: string): string;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3869
3824
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
|
|
3870
3825
|
interface KHR_parallel_shader_compile {
|
|
3871
3826
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
|
@@ -3919,6 +3874,26 @@ declare var MediaCapabilities: {
|
|
|
3919
3874
|
new(): MediaCapabilities;
|
|
3920
3875
|
};
|
|
3921
3876
|
|
|
3877
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle) */
|
|
3878
|
+
interface MediaSourceHandle {
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
declare var MediaSourceHandle: {
|
|
3882
|
+
prototype: MediaSourceHandle;
|
|
3883
|
+
new(): MediaSourceHandle;
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor) */
|
|
3887
|
+
interface MediaStreamTrackProcessor {
|
|
3888
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) */
|
|
3889
|
+
readonly readable: ReadableStream;
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
declare var MediaStreamTrackProcessor: {
|
|
3893
|
+
prototype: MediaStreamTrackProcessor;
|
|
3894
|
+
new(init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor;
|
|
3895
|
+
};
|
|
3896
|
+
|
|
3922
3897
|
/**
|
|
3923
3898
|
* This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
|
|
3924
3899
|
*
|
|
@@ -3980,11 +3955,7 @@ interface MessageEvent<T = any> extends Event {
|
|
|
3980
3955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
3981
3956
|
*/
|
|
3982
3957
|
readonly source: MessageEventSource | null;
|
|
3983
|
-
/**
|
|
3984
|
-
* @deprecated
|
|
3985
|
-
*
|
|
3986
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
3987
|
-
*/
|
|
3958
|
+
/** @deprecated */
|
|
3988
3959
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
3989
3960
|
}
|
|
3990
3961
|
|
|
@@ -4316,7 +4287,9 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
4316
4287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
|
|
4317
4288
|
*/
|
|
4318
4289
|
height: number;
|
|
4290
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
|
|
4319
4291
|
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
4292
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
|
|
4320
4293
|
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
4321
4294
|
/**
|
|
4322
4295
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -4368,8 +4341,6 @@ declare var OffscreenCanvas: {
|
|
|
4368
4341
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
4369
4342
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4370
4343
|
readonly canvas: OffscreenCanvas;
|
|
4371
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
|
|
4372
|
-
commit(): void;
|
|
4373
4344
|
}
|
|
4374
4345
|
|
|
4375
4346
|
declare var OffscreenCanvasRenderingContext2D: {
|
|
@@ -4959,6 +4930,7 @@ declare var Report: {
|
|
|
4959
4930
|
|
|
4960
4931
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
|
|
4961
4932
|
interface ReportBody {
|
|
4933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4962
4934
|
toJSON(): any;
|
|
4963
4935
|
}
|
|
4964
4936
|
|
|
@@ -5018,11 +4990,7 @@ interface Request extends Body {
|
|
|
5018
4990
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
5019
4991
|
*/
|
|
5020
4992
|
readonly integrity: string;
|
|
5021
|
-
/**
|
|
5022
|
-
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
|
|
5023
|
-
*
|
|
5024
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
|
|
5025
|
-
*/
|
|
4993
|
+
/** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
|
|
5026
4994
|
readonly keepalive: boolean;
|
|
5027
4995
|
/**
|
|
5028
4996
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -5694,9 +5662,11 @@ declare var URL: {
|
|
|
5694
5662
|
prototype: URL;
|
|
5695
5663
|
new(url: string | URL, base?: string | URL): URL;
|
|
5696
5664
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
5697
|
-
canParse(url: string | URL, base?: string): boolean;
|
|
5665
|
+
canParse(url: string | URL, base?: string | URL): boolean;
|
|
5698
5666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
|
5699
5667
|
createObjectURL(obj: Blob): string;
|
|
5668
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
5669
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5700
5670
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
|
5701
5671
|
revokeObjectURL(url: string): void;
|
|
5702
5672
|
};
|
|
@@ -5784,6 +5754,7 @@ interface VideoDecoderEventMap {
|
|
|
5784
5754
|
interface VideoDecoder extends EventTarget {
|
|
5785
5755
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize) */
|
|
5786
5756
|
readonly decodeQueueSize: number;
|
|
5757
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */
|
|
5787
5758
|
ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;
|
|
5788
5759
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state) */
|
|
5789
5760
|
readonly state: CodecState;
|
|
@@ -5806,6 +5777,7 @@ interface VideoDecoder extends EventTarget {
|
|
|
5806
5777
|
declare var VideoDecoder: {
|
|
5807
5778
|
prototype: VideoDecoder;
|
|
5808
5779
|
new(init: VideoDecoderInit): VideoDecoder;
|
|
5780
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static) */
|
|
5809
5781
|
isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;
|
|
5810
5782
|
};
|
|
5811
5783
|
|
|
@@ -5821,6 +5793,7 @@ interface VideoEncoderEventMap {
|
|
|
5821
5793
|
interface VideoEncoder extends EventTarget {
|
|
5822
5794
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize) */
|
|
5823
5795
|
readonly encodeQueueSize: number;
|
|
5796
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */
|
|
5824
5797
|
ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;
|
|
5825
5798
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state) */
|
|
5826
5799
|
readonly state: CodecState;
|
|
@@ -5830,6 +5803,7 @@ interface VideoEncoder extends EventTarget {
|
|
|
5830
5803
|
configure(config: VideoEncoderConfig): void;
|
|
5831
5804
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode) */
|
|
5832
5805
|
encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;
|
|
5806
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush) */
|
|
5833
5807
|
flush(): Promise<void>;
|
|
5834
5808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset) */
|
|
5835
5809
|
reset(): void;
|
|
@@ -5842,6 +5816,7 @@ interface VideoEncoder extends EventTarget {
|
|
|
5842
5816
|
declare var VideoEncoder: {
|
|
5843
5817
|
prototype: VideoEncoder;
|
|
5844
5818
|
new(init: VideoEncoderInit): VideoEncoder;
|
|
5819
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static) */
|
|
5845
5820
|
isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;
|
|
5846
5821
|
};
|
|
5847
5822
|
|
|
@@ -5873,6 +5848,7 @@ interface VideoFrame {
|
|
|
5873
5848
|
clone(): VideoFrame;
|
|
5874
5849
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
|
|
5875
5850
|
close(): void;
|
|
5851
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo) */
|
|
5876
5852
|
copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
|
|
5877
5853
|
}
|
|
5878
5854
|
|
|
@@ -6650,7 +6626,7 @@ interface WebGL2RenderingContextBase {
|
|
|
6650
6626
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
6651
6627
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
6652
6628
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
6653
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
6629
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
6654
6630
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
6655
6631
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
6656
6632
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -7531,6 +7507,7 @@ declare var WebGLRenderingContext: {
|
|
|
7531
7507
|
};
|
|
7532
7508
|
|
|
7533
7509
|
interface WebGLRenderingContextBase {
|
|
7510
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
|
|
7534
7511
|
drawingBufferColorSpace: PredefinedColorSpace;
|
|
7535
7512
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
|
|
7536
7513
|
readonly drawingBufferHeight: GLsizei;
|
|
@@ -8240,7 +8217,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
8240
8217
|
new(): WebGLVertexArrayObject;
|
|
8241
8218
|
};
|
|
8242
8219
|
|
|
8243
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8220
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
8244
8221
|
interface WebGLVertexArrayObjectOES {
|
|
8245
8222
|
}
|
|
8246
8223
|
|
|
@@ -8451,24 +8428,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
8451
8428
|
/**
|
|
8452
8429
|
* Available only in secure contexts.
|
|
8453
8430
|
*
|
|
8454
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
8431
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
8455
8432
|
*/
|
|
8456
8433
|
readonly caches: CacheStorage;
|
|
8457
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
8434
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
8458
8435
|
readonly crossOriginIsolated: boolean;
|
|
8459
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8436
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
8460
8437
|
readonly crypto: Crypto;
|
|
8461
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
8438
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
8462
8439
|
readonly indexedDB: IDBFactory;
|
|
8463
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
8440
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
8464
8441
|
readonly isSecureContext: boolean;
|
|
8465
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
8442
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
8466
8443
|
readonly origin: string;
|
|
8467
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
8468
8445
|
readonly performance: Performance;
|
|
8469
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
8446
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
8470
8447
|
atob(data: string): string;
|
|
8471
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
8448
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
8472
8449
|
btoa(data: string): string;
|
|
8473
8450
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
8474
8451
|
clearInterval(id: number | undefined): void;
|
|
@@ -8565,7 +8542,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
|
|
|
8565
8542
|
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
8566
8543
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
8567
8544
|
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
8545
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
8568
8546
|
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
8569
8548
|
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8570
8549
|
/**
|
|
8571
8550
|
* Returns workerGlobal.
|
|
@@ -8899,7 +8878,7 @@ interface Console {
|
|
|
8899
8878
|
clear(): void;
|
|
8900
8879
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8901
8880
|
count(label?: string): void;
|
|
8902
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8881
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
8903
8882
|
countReset(label?: string): void;
|
|
8904
8883
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8905
8884
|
debug(...data: any[]): void;
|
|
@@ -8911,9 +8890,9 @@ interface Console {
|
|
|
8911
8890
|
error(...data: any[]): void;
|
|
8912
8891
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8913
8892
|
group(...data: any[]): void;
|
|
8914
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8893
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
8915
8894
|
groupCollapsed(...data: any[]): void;
|
|
8916
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8895
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
8917
8896
|
groupEnd(): void;
|
|
8918
8897
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8919
8898
|
info(...data: any[]): void;
|
|
@@ -8923,9 +8902,9 @@ interface Console {
|
|
|
8923
8902
|
table(tabularData?: any, properties?: string[]): void;
|
|
8924
8903
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8925
8904
|
time(label?: string): void;
|
|
8926
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
8927
8906
|
timeEnd(label?: string): void;
|
|
8928
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
8929
8908
|
timeLog(label?: string, ...data: any[]): void;
|
|
8930
8909
|
timeStamp(label?: string): void;
|
|
8931
8910
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -8948,9 +8927,7 @@ declare namespace WebAssembly {
|
|
|
8948
8927
|
|
|
8949
8928
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
8950
8929
|
interface Global<T extends ValueType = ValueType> {
|
|
8951
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
8952
8930
|
value: ValueTypeMap[T];
|
|
8953
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
8954
8931
|
valueOf(): ValueTypeMap[T];
|
|
8955
8932
|
}
|
|
8956
8933
|
|
|
@@ -9228,7 +9205,9 @@ declare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) =>
|
|
|
9228
9205
|
declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
|
|
9229
9206
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
9230
9207
|
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
|
|
9208
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
9231
9209
|
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
9210
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
9232
9211
|
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
9233
9212
|
/**
|
|
9234
9213
|
* Returns workerGlobal.
|
|
@@ -9253,24 +9232,24 @@ declare var fonts: FontFaceSet;
|
|
|
9253
9232
|
/**
|
|
9254
9233
|
* Available only in secure contexts.
|
|
9255
9234
|
*
|
|
9256
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
9235
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
9257
9236
|
*/
|
|
9258
9237
|
declare var caches: CacheStorage;
|
|
9259
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
9238
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
9260
9239
|
declare var crossOriginIsolated: boolean;
|
|
9261
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
9262
9241
|
declare var crypto: Crypto;
|
|
9263
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
9242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
9264
9243
|
declare var indexedDB: IDBFactory;
|
|
9265
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
9244
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
9266
9245
|
declare var isSecureContext: boolean;
|
|
9267
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
9246
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
9268
9247
|
declare var origin: string;
|
|
9269
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9248
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
9270
9249
|
declare var performance: Performance;
|
|
9271
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
9250
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
9272
9251
|
declare function atob(data: string): string;
|
|
9273
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
9252
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
9274
9253
|
declare function btoa(data: string): string;
|
|
9275
9254
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
9276
9255
|
declare function clearInterval(id: number | undefined): void;
|
|
@@ -9347,7 +9326,7 @@ type ReportList = Report[];
|
|
|
9347
9326
|
type RequestInfo = Request | string;
|
|
9348
9327
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
|
|
9349
9328
|
type TimerHandler = string | Function;
|
|
9350
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
|
|
9329
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
|
|
9351
9330
|
type Uint32List = Uint32Array | GLuint[];
|
|
9352
9331
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
9353
9332
|
type AlphaOption = "discard" | "keep";
|
|
@@ -113,11 +113,7 @@ interface IDBObjectStore {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
interface MessageEvent<T = any> {
|
|
116
|
-
/**
|
|
117
|
-
* @deprecated
|
|
118
|
-
*
|
|
119
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
120
|
-
*/
|
|
116
|
+
/** @deprecated */
|
|
121
117
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
122
118
|
}
|
|
123
119
|
|
package/lib/tsc.js
CHANGED
|
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
20
|
var versionMajorMinor = "5.6";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20240719`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
package/lib/typescript.js
CHANGED
|
@@ -2256,7 +2256,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2256
2256
|
|
|
2257
2257
|
// src/compiler/corePublic.ts
|
|
2258
2258
|
var versionMajorMinor = "5.6";
|
|
2259
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2259
|
+
var version = `${versionMajorMinor}.0-dev.20240719`;
|
|
2260
2260
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2261
2261
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2262
2262
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -183067,7 +183067,7 @@ var Project2 = class _Project {
|
|
|
183067
183067
|
return this.projectName;
|
|
183068
183068
|
}
|
|
183069
183069
|
removeLocalTypingsFromTypeAcquisition(newTypeAcquisition) {
|
|
183070
|
-
if (!newTypeAcquisition || !newTypeAcquisition.include) {
|
|
183070
|
+
if (!newTypeAcquisition.enable || !newTypeAcquisition.include) {
|
|
183071
183071
|
return newTypeAcquisition;
|
|
183072
183072
|
}
|
|
183073
183073
|
return { ...newTypeAcquisition, include: this.removeExistingTypings(newTypeAcquisition.include) };
|
|
@@ -183505,8 +183505,9 @@ var Project2 = class _Project {
|
|
|
183505
183505
|
return this.program;
|
|
183506
183506
|
}
|
|
183507
183507
|
removeExistingTypings(include) {
|
|
183508
|
+
if (!include.length) return include;
|
|
183508
183509
|
const existing = getAutomaticTypeDirectiveNames(this.getCompilerOptions(), this.directoryStructureHost);
|
|
183509
|
-
return
|
|
183510
|
+
return filter(include, (i) => !existing.includes(i));
|
|
183510
183511
|
}
|
|
183511
183512
|
updateGraphWorker() {
|
|
183512
183513
|
var _a, _b;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "typescript",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.6.0-dev.
|
|
5
|
+
"version": "5.6.0-dev.20240719",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"node": "20.1.0",
|
|
115
115
|
"npm": "8.19.4"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "f8a7913c1e67cc7262c49b144a90b9d577a16fef"
|
|
118
118
|
}
|