@types/web 0.0.38 → 0.0.39

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +6 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.38 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.38.
50
+ You can read what changed in version 0.0.39 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.39.
package/index.d.ts CHANGED
@@ -55,8 +55,8 @@ interface AnimationEventInit extends EventInit {
55
55
  }
56
56
 
57
57
  interface AnimationPlaybackEventInit extends EventInit {
58
- currentTime?: number | null;
59
- timelineTime?: number | null;
58
+ currentTime?: CSSNumberish | null;
59
+ timelineTime?: CSSNumberish | null;
60
60
  }
61
61
 
62
62
  interface AssignedNodesOptions {
@@ -1938,7 +1938,7 @@ interface AnimationEventMap {
1938
1938
  }
1939
1939
 
1940
1940
  interface Animation extends EventTarget {
1941
- currentTime: number | null;
1941
+ currentTime: CSSNumberish | null;
1942
1942
  effect: AnimationEffect | null;
1943
1943
  readonly finished: Promise<Animation>;
1944
1944
  id: string;
@@ -1950,7 +1950,7 @@ interface Animation extends EventTarget {
1950
1950
  playbackRate: number;
1951
1951
  readonly ready: Promise<Animation>;
1952
1952
  readonly replaceState: AnimationReplaceState;
1953
- startTime: number | null;
1953
+ startTime: CSSNumberish | null;
1954
1954
  timeline: AnimationTimeline | null;
1955
1955
  cancel(): void;
1956
1956
  commitStyles(): void;
@@ -2000,8 +2000,8 @@ interface AnimationFrameProvider {
2000
2000
  }
2001
2001
 
2002
2002
  interface AnimationPlaybackEvent extends Event {
2003
- readonly currentTime: number | null;
2004
- readonly timelineTime: number | null;
2003
+ readonly currentTime: CSSNumberish | null;
2004
+ readonly timelineTime: CSSNumberish | null;
2005
2005
  }
2006
2006
 
2007
2007
  declare var AnimationPlaybackEvent: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "MIT",
6
6
  "contributors": [],