@@ -53,8 +53,8 @@ interface AnimationEventInit extends EventInit {
5353}
5454
5555interface AnimationPlaybackEventInit extends EventInit {
56- currentTime?: number | null;
57- timelineTime?: number | null;
56+ currentTime?: CSSNumberish | null;
57+ timelineTime?: CSSNumberish | null;
5858}
5959
6060interface AssignedNodesOptions {
@@ -1936,7 +1936,7 @@ interface AnimationEventMap {
19361936}
19371937
19381938interface Animation extends EventTarget {
1939- currentTime: number | null;
1939+ currentTime: CSSNumberish | null;
19401940 effect: AnimationEffect | null;
19411941 readonly finished: Promise<Animation>;
19421942 id: string;
@@ -1948,7 +1948,7 @@ interface Animation extends EventTarget {
19481948 playbackRate: number;
19491949 readonly ready: Promise<Animation>;
19501950 readonly replaceState: AnimationReplaceState;
1951- startTime: number | null;
1951+ startTime: CSSNumberish | null;
19521952 timeline: AnimationTimeline | null;
19531953 cancel(): void;
19541954 commitStyles(): void;
@@ -1998,8 +1998,8 @@ interface AnimationFrameProvider {
19981998}
19991999
20002000interface AnimationPlaybackEvent extends Event {
2001- readonly currentTime: number | null;
2002- readonly timelineTime: number | null;
2001+ readonly currentTime: CSSNumberish | null;
2002+ readonly timelineTime: CSSNumberish | null;
20032003}
20042004
20052005declare var AnimationPlaybackEvent: {
0 commit comments