We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52eb63e commit 3724fbfCopy full SHA for 3724fbf
src/core/waapi.ts
@@ -14,8 +14,10 @@ export type AnimatableCSSProperties = Omit<
14
/**
15
* Strictly typed [Keyframe](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Keyframe_Formats)
16
*/
17
-export type TypedKeyframe = Pick<Keyframe, "composite" | "easing" | "offset"> &
18
- AnimatableCSSProperties;
+export type TypedKeyframe = Pick<
+ Keyframe,
19
+ "composite" | "easing" | "offset"
20
+> & { [key: `--${string}`]: string | number } & AnimatableCSSProperties;
21
22
export type TypedEasing = NonNullable<
23
Exclude<CSSProperties["animationTimingFunction"], CSSProperties["all"]>
0 commit comments