Browse Source

chore: Timepicker BaseValueType add undefined type (#2066)

代强 1 year ago
parent
commit
3732aa173a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/semi-ui/timePicker/TimePicker.tsx

+ 1 - 1
packages/semi-ui/timePicker/TimePicker.tsx

@@ -29,7 +29,7 @@ export interface Panel {
     panelFooter?: React.ReactNode | React.ReactNode[]
 }
 
-export type BaseValueType = string | number | Date;
+export type BaseValueType = string | number | Date | undefined;
 
 export type Type = 'time' | 'timeRange';