diff --git a/playground/app/pages/components/pin-input.vue b/playground/app/pages/components/pin-input.vue index 664c54edb0..539729ed62 100644 --- a/playground/app/pages/components/pin-input.vue +++ b/playground/app/pages/components/pin-input.vue @@ -4,7 +4,7 @@ import theme from '#build/ui/pin-input' const sizes = Object.keys(theme.variants.size) as Array const variants = Object.keys(theme.variants.variant) as Array -const onComplete = (e: string[]) => { +const onComplete = (e: string[] | number[]) => { console.log(e) } diff --git a/src/runtime/components/PinInput.vue b/src/runtime/components/PinInput.vue index d90e698a2f..210334f205 100644 --- a/src/runtime/components/PinInput.vue +++ b/src/runtime/components/PinInput.vue @@ -46,7 +46,7 @@ export type PinInputEmits = PinInputRootEmits -