@@ -53,8 +53,8 @@ interface AnimationEventInit extends EventInit {
53
53
}
54
54
55
55
interface AnimationPlaybackEventInit extends EventInit {
56
- currentTime?: number | null;
57
- timelineTime?: number | null;
56
+ currentTime?: CSSNumberish | null;
57
+ timelineTime?: CSSNumberish | null;
58
58
}
59
59
60
60
interface AssignedNodesOptions {
@@ -1936,7 +1936,7 @@ interface AnimationEventMap {
1936
1936
}
1937
1937
1938
1938
interface Animation extends EventTarget {
1939
- currentTime: number | null;
1939
+ currentTime: CSSNumberish | null;
1940
1940
effect: AnimationEffect | null;
1941
1941
readonly finished: Promise<Animation>;
1942
1942
id: string;
@@ -1948,7 +1948,7 @@ interface Animation extends EventTarget {
1948
1948
playbackRate: number;
1949
1949
readonly ready: Promise<Animation>;
1950
1950
readonly replaceState: AnimationReplaceState;
1951
- startTime: number | null;
1951
+ startTime: CSSNumberish | null;
1952
1952
timeline: AnimationTimeline | null;
1953
1953
cancel(): void;
1954
1954
commitStyles(): void;
@@ -1998,8 +1998,8 @@ interface AnimationFrameProvider {
1998
1998
}
1999
1999
2000
2000
interface AnimationPlaybackEvent extends Event {
2001
- readonly currentTime: number | null;
2002
- readonly timelineTime: number | null;
2001
+ readonly currentTime: CSSNumberish | null;
2002
+ readonly timelineTime: CSSNumberish | null;
2003
2003
}
2004
2004
2005
2005
declare var AnimationPlaybackEvent: {
0 commit comments