From 0dc24785699101fa24d2a68786feaaac8a887520 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 23 Mar 2020 11:13:37 -0400 Subject: [PATCH] fix(transition): fix duration prop validation fix #868 --- packages/runtime-dom/src/components/Transition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/components/Transition.ts b/packages/runtime-dom/src/components/Transition.ts index f82b4e9cdab..d80d4f9ee42 100644 --- a/packages/runtime-dom/src/components/Transition.ts +++ b/packages/runtime-dom/src/components/Transition.ts @@ -45,7 +45,7 @@ export const TransitionPropsValidators = { type: Boolean, default: true }, - duration: Object, + duration: [String, Number, Object], enterFromClass: String, enterActiveClass: String, enterToClass: String,