@rbxts/easytween
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -15,3 +15,3 @@ /// <reference types="@rbxts/compiler-types" /> | ||
type Animatable = number | CFrame | Color3 | ColorSequenceKeypoint | DateTime | NumberRange | NumberSequenceKeypoint | PhysicalProperties | Ray | Rect | Region3 | Region3int16 | UDim | UDim2 | Vector2 | Vector2int16 | Vector3 | Vector3int16; | ||
export default class EasyTween<T extends Animatable> { | ||
export default class EasyTween<T> { | ||
private goalValue; | ||
@@ -26,5 +26,5 @@ private value; | ||
private maid; | ||
constructor(value: T, tweenInfo: TweenInfo); | ||
constructor(value: T & Animatable, tweenInfo: TweenInfo); | ||
Destroy(): void; | ||
Set(value: T): void; | ||
Set(value: T & Animatable): void; | ||
Get(): T; | ||
@@ -31,0 +31,0 @@ ListenToChange(callback: callbackOnChange<T>): Connection; |
{ | ||
"name": "@rbxts/easytween", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "out/init.lua", |
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
12414