Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get: function (this: BoxShadowStyleAnimator): BoxShadow | null | undefined {
let value = this._value;
if (value === void 0) {
const propertyValue = this.propertyValue;
if (propertyValue) {
try {
value = BoxShadow.parse(propertyValue);
} catch (swallow) {
// nop
}
}
}
return value;
},
enumerable: true,
let _this: BoxShadowStyleAnimator = function (value?: AnyBoxShadow | null, tween?: Tween, priority?: string | null): BoxShadow | null | undefined | V {
if (value === void 0) {
return _this.value;
} else {
if (value !== null) {
value = BoxShadow.fromAny(value);
}
_this.setState(value as BoxShadow | null, tween, priority);
return _this._view;
}
} as BoxShadowStyleAnimator;
(_this as any).__proto__ = this;