File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/vue-final-modal/src/components/VueFinalModal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ export function useTransition(
4848 const [ contentVisible , contentState , contentListeners ] = useTransitionState ( visible . value )
4949 const [ overlayVisible , overlayState , overlayListeners ] = useTransitionState ( visible . value )
5050
51- const contentTransition = computed < TransitionProps > ( ( ) => mergeTransition ( props . contentTransition ) )
52- const overlayTransition = computed < TransitionProps > ( ( ) => mergeTransition ( props . overlayTransition ) )
51+ const contentTransition = computed ( ( ) => mergeTransition ( props . contentTransition ) )
52+ const overlayTransition = computed ( ( ) => mergeTransition ( props . overlayTransition ) )
5353
5454 const isReadyToBeDestroyed = computed ( ( ) =>
5555 ( props . hideOverlay || overlayState . value === TransitionState . Leave )
@@ -110,7 +110,7 @@ export function useTransition(
110110 }
111111}
112112
113- function mergeTransition ( transition ?: VfmTransition | TransitionProps ) {
113+ function mergeTransition ( transition ?: VfmTransition | TransitionProps ) : TransitionProps {
114114 if ( typeof transition === 'string' )
115115 return { name : transition , appear : true }
116116 return { appear : true , ...transition }
You can’t perform that action at this time.
0 commit comments