Skip to content

Commit c67d040

Browse files
committed
fix: fix ViewTransitionTypeSet
1 parent c4e5362 commit c67d040

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

docs/diff/dom.generated.d.ts.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,26 @@ Index: dom.generated.d.ts
214214
}
215215

216216
declare var RTCStatsReport: {
217-
@@ -35597,13 +35619,16 @@
217+
@@ -29203,15 +29225,11 @@
218+
new (): ViewTransition;
219+
};
220+
221+
interface ViewTransitionTypeSet {
222+
- forEach(
223+
- callbackfn: (
224+
- value: string,
225+
- key: string,
226+
- parent: ViewTransitionTypeSet,
227+
- ) => void,
228+
- thisArg?: any,
229+
+ forEach<This = undefined>(
230+
+ callbackfn: (this: This, value: string, key: string, parent: this) => void,
231+
+ thisArg?: This,
232+
): void;
233+
}
234+
235+
declare var ViewTransitionTypeSet: {
236+
@@ -35597,13 +35615,16 @@
218237
handler: TimerHandler,
219238
timeout?: number,
220239
...arguments: any[]
@@ -234,7 +253,7 @@ Index: dom.generated.d.ts
234253
declare var sessionStorage: Storage;
235254
declare function addEventListener<K extends keyof WindowEventMap>(
236255
type: K,
237-
@@ -36287,4 +36312,125 @@
256+
@@ -36287,4 +36308,125 @@
238257
| "blob"
239258
| "document"
240259
| "json"

generated/lib.dom.d.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29245,15 +29245,12 @@ declare var ViewTransition: {
2924529245
};
2924629246

2924729247
interface ViewTransitionTypeSet {
29248-
forEach(
29249-
callbackfn: (
29250-
value: string,
29251-
key: string,
29252-
parent: ViewTransitionTypeSet,
29253-
) => void,
29254-
thisArg?: any,
29248+
forEach<This = undefined>(
29249+
callbackfn: (this: This, value: string, key: string, parent: this) => void,
29250+
thisArg?: This,
2925529251
): void;
2925629252
}
29253+
// forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;
2925729254

2925829255
declare var ViewTransitionTypeSet: {
2925929256
prototype: ViewTransitionTypeSet;

lib/lib.dom.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,13 @@ interface CustomStateSet {
230230
): void;
231231
}
232232

233+
interface ViewTransitionTypeSet {
234+
forEach<This = undefined>(
235+
callbackfn: (this: This, value: string, key: string, parent: this) => void,
236+
thisArg?: This,
237+
): void;
238+
}
239+
233240
interface Document
234241
extends Node,
235242
DocumentOrShadowRoot,

0 commit comments

Comments
 (0)