diff --git a/packages/core/useTimeAgo/component.ts b/packages/core/useTimeAgo/component.ts index 67deaca5fb4..6cd033701af 100644 --- a/packages/core/useTimeAgo/component.ts +++ b/packages/core/useTimeAgo/component.ts @@ -9,7 +9,7 @@ interface UseTimeAgoComponentOptions extends Omit, 'cont export const UseTimeAgo = defineComponent({ name: 'UseTimeAgo', - props: ['time', 'updateInterval', 'max', 'fullDateFormatter', 'messages'] as unknown as undefined, + props: ['time', 'updateInterval', 'max', 'fullDateFormatter', 'messages', 'showSecond'] as unknown as undefined, setup(props, { slots }) { const data = reactive(useTimeAgo(() => props.time as number, { ...props, controls: true }))