@motionone/types
Advanced tools
Comparing version 10.13.2 to 10.14.0
{ | ||
"name": "@motionone/types", | ||
"version": "10.13.2", | ||
"version": "10.14.0", | ||
"description": "Shared types for the Motion One packages.", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "a33ab88400c8aac4a6755cda6f93c24563d9ddc5" | ||
"gitHead": "4c59ce9e5539899722427bd00f857dc80f29fc09" | ||
} |
@@ -36,3 +36,3 @@ import { MotionValue } from "./MotionValue"; | ||
easing: Easing; | ||
keyframes?: number[]; | ||
keyframes?: Array<number | string>; | ||
duration?: number; | ||
@@ -44,3 +44,3 @@ }; | ||
export declare type EasingGenerator = { | ||
createAnimation: (keyframes: UnresolvedValueKeyframe[], getOrigin: () => string, isNumber: boolean, name?: string, value?: MotionValue) => CustomAnimationSettings; | ||
createAnimation: (keyframes: UnresolvedValueKeyframe[], shouldGenerate?: boolean, readInitialKeyframe?: () => number | string, name?: string, value?: MotionValue) => CustomAnimationSettings; | ||
}; | ||
@@ -47,0 +47,0 @@ export declare type KeyframeOptions = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10951