mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
chore: cleanup types
This commit is contained in:
@ -1174,7 +1174,7 @@ const touchAnimationProperty = new Property<ViewCommon, boolean | TouchAnimation
|
||||
},
|
||||
valueConverter(value) {
|
||||
if (isObject(value)) {
|
||||
return <any>value;
|
||||
return <TouchAnimationOptions>value;
|
||||
} else {
|
||||
return booleanConverter(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user