fix(Transition): fix typescript error

This commit is contained in:
rex-zsd 2020-03-21 11:52:02 +08:00
parent 32d0495777
commit 03cd984393

View File

@ -13,16 +13,16 @@ export const transition = function(showDefaultValue: boolean) {
return Behavior({ return Behavior({
properties: { properties: {
customStyle: String, customStyle: String,
// @ts-ignore
show: { show: {
type: Boolean, type: Boolean,
value: showDefaultValue, value: showDefaultValue,
// @ts-ignore
observer: 'observeShow' observer: 'observeShow'
}, },
// @ts-ignore
duration: { duration: {
type: null, type: null,
value: 300, value: 300,
// @ts-ignore
observer: 'observeDuration' observer: 'observeDuration'
}, },
name: { name: {