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({
properties: {
customStyle: String,
// @ts-ignore
show: {
type: Boolean,
value: showDefaultValue,
// @ts-ignore
observer: 'observeShow'
},
// @ts-ignore
duration: {
type: null,
value: 300,
// @ts-ignore
observer: 'observeDuration'
},
name: {