Skip to content

Commit c971a22

Browse files
authored
Manually update to [email protected] (microsoft#1866)
Co-authored-by: saschanaz <[email protected]>
1 parent 7e248ca commit c971a22

9 files changed

+146
-31
lines changed

Diff for: baselines/dom.generated.d.ts

+36-4
Original file line numberDiff line numberDiff line change
@@ -4875,8 +4875,6 @@ interface CSSStyleDeclaration {
48754875
pointerEvents: string;
48764876
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
48774877
position: string;
4878-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
4879-
positionArea: string;
48804878
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
48814879
printColorAdjust: string;
48824880
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
@@ -4997,6 +4995,9 @@ interface CSSStyleDeclaration {
49974995
textAlignLast: string;
49984996
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
49994997
textAnchor: string;
4998+
textBox: string;
4999+
textBoxEdge: string;
5000+
textBoxTrim: string;
50005001
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) */
50015002
textCombineUpright: string;
50025003
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration) */
@@ -6630,17 +6631,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
66306631
m43: number;
66316632
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
66326633
m44: number;
6634+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf) */
66336635
invertSelf(): DOMMatrix;
66346636
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
66356637
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
66366638
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
66376639
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
6640+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf) */
66386641
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
66396642
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
66406643
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
6644+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue) */
66416645
setMatrixValue(transformList: string): DOMMatrix;
6646+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
66426647
skewXSelf(sx?: number): DOMMatrix;
6648+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf) */
66436649
skewYSelf(sy?: number): DOMMatrix;
6650+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf) */
66446651
translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;
66456652
}
66466653

@@ -6709,6 +6716,7 @@ interface DOMMatrixReadOnly {
67096716
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
67106717
flipX(): DOMMatrix;
67116718
flipY(): DOMMatrix;
6719+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
67126720
inverse(): DOMMatrix;
67136721
multiply(other?: DOMMatrixInit): DOMMatrix;
67146722
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
@@ -6723,6 +6731,7 @@ interface DOMMatrixReadOnly {
67236731
skewY(sy?: number): DOMMatrix;
67246732
toFloat32Array(): Float32Array;
67256733
toFloat64Array(): Float64Array;
6734+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
67266735
toJSON(): any;
67276736
transformPoint(point?: DOMPointInit): DOMPoint;
67286737
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
@@ -7871,7 +7880,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
78717880
*
78727881
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)
78737882
*/
7874-
importNode<T extends Node>(node: T, deep?: boolean): T;
7883+
importNode<T extends Node>(node: T, subtree?: boolean): T;
78757884
/**
78767885
* Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
78777886
* @param url Specifies a MIME type for the document.
@@ -7928,6 +7937,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
79287937
/**
79297938
* Writes one or more HTML expressions to a document in the specified window.
79307939
* @param content Specifies the text and HTML tags to write.
7940+
* @deprecated
79317941
*
79327942
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/write)
79337943
*/
@@ -10682,6 +10692,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
1068210692
title: string;
1068310693
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
1068410694
translate: boolean;
10695+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/writingSuggestions) */
1068510696
writingSuggestions: string;
1068610697
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
1068710698
attachInternals(): ElementInternals;
@@ -17033,7 +17044,7 @@ interface Node extends EventTarget {
1703317044
*
1703417045
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)
1703517046
*/
17036-
cloneNode(deep?: boolean): Node;
17047+
cloneNode(subtree?: boolean): Node;
1703717048
/**
1703817049
* Returns a bitmask indicating the position of other relative to node.
1703917050
*
@@ -19931,7 +19942,9 @@ declare var SVGAnimateTransformElement: {
1993119942
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle)
1993219943
*/
1993319944
interface SVGAnimatedAngle {
19945+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle/animVal) */
1993419946
readonly animVal: SVGAngle;
19947+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle/baseVal) */
1993519948
readonly baseVal: SVGAngle;
1993619949
}
1993719950

@@ -19946,7 +19959,9 @@ declare var SVGAnimatedAngle: {
1994619959
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean)
1994719960
*/
1994819961
interface SVGAnimatedBoolean {
19962+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/animVal) */
1994919963
readonly animVal: boolean;
19964+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/baseVal) */
1995019965
baseVal: boolean;
1995119966
}
1995219967

@@ -20010,7 +20025,9 @@ declare var SVGAnimatedLength: {
2001020025
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList)
2001120026
*/
2001220027
interface SVGAnimatedLengthList {
20028+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList/animVal) */
2001320029
readonly animVal: SVGLengthList;
20030+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList/baseVal) */
2001420031
readonly baseVal: SVGLengthList;
2001520032
}
2001620033

@@ -20025,7 +20042,9 @@ declare var SVGAnimatedLengthList: {
2002520042
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber)
2002620043
*/
2002720044
interface SVGAnimatedNumber {
20045+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber/animVal) */
2002820046
readonly animVal: number;
20047+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber/baseVal) */
2002920048
baseVal: number;
2003020049
}
2003120050

@@ -20040,7 +20059,9 @@ declare var SVGAnimatedNumber: {
2004020059
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList)
2004120060
*/
2004220061
interface SVGAnimatedNumberList {
20062+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList/animVal) */
2004320063
readonly animVal: SVGNumberList;
20064+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList/baseVal) */
2004420065
readonly baseVal: SVGNumberList;
2004520066
}
2004620067

@@ -20075,7 +20096,9 @@ declare var SVGAnimatedPreserveAspectRatio: {
2007520096
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)
2007620097
*/
2007720098
interface SVGAnimatedRect {
20099+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal) */
2007820100
readonly animVal: DOMRectReadOnly;
20101+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal) */
2007920102
readonly baseVal: DOMRect;
2008020103
}
2008120104

@@ -20107,7 +20130,9 @@ declare var SVGAnimatedString: {
2010720130
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList)
2010820131
*/
2010920132
interface SVGAnimatedTransformList {
20133+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList/animVal) */
2011020134
readonly animVal: SVGTransformList;
20135+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList/baseVal) */
2011120136
readonly baseVal: SVGTransformList;
2011220137
}
2011320138

@@ -20120,9 +20145,13 @@ declare var SVGAnimatedTransformList: {
2012020145
interface SVGAnimationElement extends SVGElement, SVGTests {
2012120146
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/targetElement) */
2012220147
readonly targetElement: SVGElement | null;
20148+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/beginElement) */
2012320149
beginElement(): void;
20150+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/beginElementAt) */
2012420151
beginElementAt(offset: number): void;
20152+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElement) */
2012520153
endElement(): void;
20154+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElementAt) */
2012620155
endElementAt(offset: number): void;
2012720156
getCurrentTime(): number;
2012820157
getSimpleDuration(): number;
@@ -21721,7 +21750,9 @@ declare var SVGTSpanElement: {
2172121750
};
2172221751

2172321752
interface SVGTests {
21753+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/requiredExtensions) */
2172421754
readonly requiredExtensions: SVGStringList;
21755+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/systemLanguage) */
2172521756
readonly systemLanguage: SVGStringList;
2172621757
}
2172721758

@@ -25957,6 +25988,7 @@ interface WebGLRenderingContextBase {
2595725988
isShader(shader: WebGLShader | null): GLboolean;
2595825989
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */
2595925990
isTexture(texture: WebGLTexture | null): GLboolean;
25991+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */
2596025992
lineWidth(width: GLfloat): void;
2596125993
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */
2596225994
linkProgram(program: WebGLProgram): void;

Diff for: baselines/serviceworker.generated.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -1860,16 +1860,21 @@ interface DOMMatrix extends DOMMatrixReadOnly {
18601860
m43: number;
18611861
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
18621862
m44: number;
1863+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf) */
18631864
invertSelf(): DOMMatrix;
18641865
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
18651866
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
18661867
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
18671868
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
1869+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf) */
18681870
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
18691871
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
18701872
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1873+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
18711874
skewXSelf(sx?: number): DOMMatrix;
1875+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf) */
18721876
skewYSelf(sy?: number): DOMMatrix;
1877+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf) */
18731878
translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;
18741879
}
18751880

@@ -1932,6 +1937,7 @@ interface DOMMatrixReadOnly {
19321937
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
19331938
flipX(): DOMMatrix;
19341939
flipY(): DOMMatrix;
1940+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
19351941
inverse(): DOMMatrix;
19361942
multiply(other?: DOMMatrixInit): DOMMatrix;
19371943
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
@@ -1946,6 +1952,7 @@ interface DOMMatrixReadOnly {
19461952
skewY(sy?: number): DOMMatrix;
19471953
toFloat32Array(): Float32Array;
19481954
toFloat64Array(): Float64Array;
1955+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
19491956
toJSON(): any;
19501957
transformPoint(point?: DOMPointInit): DOMPoint;
19511958
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
@@ -7277,6 +7284,7 @@ interface WebGLRenderingContextBase {
72777284
isShader(shader: WebGLShader | null): GLboolean;
72787285
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */
72797286
isTexture(texture: WebGLTexture | null): GLboolean;
7287+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */
72807288
lineWidth(width: GLfloat): void;
72817289
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */
72827290
linkProgram(program: WebGLProgram): void;

Diff for: baselines/sharedworker.generated.d.ts

+8
Original file line numberDiff line numberDiff line change
@@ -1787,16 +1787,21 @@ interface DOMMatrix extends DOMMatrixReadOnly {
17871787
m43: number;
17881788
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
17891789
m44: number;
1790+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf) */
17901791
invertSelf(): DOMMatrix;
17911792
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
17921793
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
17931794
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
17941795
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
1796+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf) */
17951797
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
17961798
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
17971799
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1800+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
17981801
skewXSelf(sx?: number): DOMMatrix;
1802+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf) */
17991803
skewYSelf(sy?: number): DOMMatrix;
1804+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf) */
18001805
translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;
18011806
}
18021807

@@ -1859,6 +1864,7 @@ interface DOMMatrixReadOnly {
18591864
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
18601865
flipX(): DOMMatrix;
18611866
flipY(): DOMMatrix;
1867+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
18621868
inverse(): DOMMatrix;
18631869
multiply(other?: DOMMatrixInit): DOMMatrix;
18641870
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
@@ -1873,6 +1879,7 @@ interface DOMMatrixReadOnly {
18731879
skewY(sy?: number): DOMMatrix;
18741880
toFloat32Array(): Float32Array;
18751881
toFloat64Array(): Float64Array;
1882+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
18761883
toJSON(): any;
18771884
transformPoint(point?: DOMPointInit): DOMPoint;
18781885
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
@@ -7088,6 +7095,7 @@ interface WebGLRenderingContextBase {
70887095
isShader(shader: WebGLShader | null): GLboolean;
70897096
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */
70907097
isTexture(texture: WebGLTexture | null): GLboolean;
7098+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */
70917099
lineWidth(width: GLfloat): void;
70927100
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */
70937101
linkProgram(program: WebGLProgram): void;

0 commit comments

Comments
 (0)