Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
let _this: TransformAttributeAnimator = function (value?: AnyTransform | null, tween?: Tween): Transform | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = Transform.fromAny(value);
}
_this.setState(value, tween);
return _this._view;
}
} as TransformAttributeAnimator;
(_this as any).__proto__ = this;
let _this: TransformMemberAnimator = function (value?: AnyTransform | null, tween?: Tween): Transform | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = Transform.fromAny(value);
}
_this.setState(value, tween);
return _this._view;
}
} as TransformMemberAnimator;
(_this as any).__proto__ = this;
let _this: TransformMemberAnimator = function (value?: AnyTransform | null, tween?: Tween): Transform | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = Transform.fromAny(value);
}
_this.setState(value, tween);
return _this._view;
}
} as TransformMemberAnimator;
(_this as any).__proto__ = this;
this: TransformMemberAnimator, view: V, value?: AnyTransform,
transition?: Transition | null, inherit?: string | null): TransformMemberAnimator {
let _this: TransformMemberAnimator = function (value?: AnyTransform | null, tween?: Tween): Transform | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = Transform.fromAny(value);
}
_this.setState(value, tween);
return _this._view;
}
} as TransformMemberAnimator;
(_this as any).__proto__ = this;
if (value !== null && value !== void 0) {
value = Transform.fromAny(value);
}
_this = _super.call(_this, view, value, transition, inherit) || _this;
return _this;
} as unknown as MemberAnimatorConstructor;
__extends(TransformMemberAnimator, _super);
let _this: TransformStyleAnimator = function (value?: AnyTransform | null, tween?: Tween, priority?: string | null): Transform | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = Transform.fromAny(value);
}
_this.setState(value, tween, priority);
return _this._view;
}
} as TransformStyleAnimator;
(_this as any).__proto__ = this;