diff --git a/src/core/waapi.ts b/src/core/waapi.ts index 23782a9..3c2b104 100644 --- a/src/core/waapi.ts +++ b/src/core/waapi.ts @@ -14,8 +14,10 @@ export type AnimatableCSSProperties = Omit< /** * Strictly typed [Keyframe](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API/Keyframe_Formats) */ -export type TypedKeyframe = Pick & - AnimatableCSSProperties; +export type TypedKeyframe = Pick< + Keyframe, + "composite" | "easing" | "offset" +> & { [key: `--${string}`]: string | number } & AnimatableCSSProperties; export type TypedEasing = NonNullable< Exclude