fix(ui-transitions): typecheck
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
@@ -16,10 +16,10 @@ withDefaults(defineProps<{
|
||||
})
|
||||
|
||||
type TransitionComponent =
|
||||
| InstanceType<typeof SlideTransition>
|
||||
| InstanceType<typeof SlopeSlideTransition>
|
||||
| InstanceType<typeof ArrowTransition>
|
||||
| InstanceType<typeof MultipleBlocksRevealTransition>
|
||||
| typeof SlideTransition
|
||||
| typeof SlopeSlideTransition
|
||||
| typeof ArrowTransition
|
||||
| typeof MultipleBlocksRevealTransition
|
||||
|
||||
const router = useRouter()
|
||||
const showTransition = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user