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: TransformStyleAnimator): Transform | null | undefined {
let value = this._value;
if (value === void 0) {
const propertyValue = this.propertyValue;
if (propertyValue) {
try {
value = Transform.parse(propertyValue);
} catch (swallow) {
// nop
}
}
}
return value;
},
enumerable: true,
get: function (this: TransformAttributeAnimator): Transform | null | undefined {
let value = this._value;
if (value === void 0) {
const attributeValue = this.attributeValue;
if (attributeValue) {
try {
value = Transform.parse(attributeValue);
} catch (swallow) {
// nop
}
}
}
return value;
},
enumerable: true,