Skip to content

Commit

Permalink
fix(date): export type { FormatDateRenderer }
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Mar 17, 2024
1 parent 9298b62 commit b7487de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,5 @@ export * from './numeralDayToChineseDay'

// date-fns 也导出了 formatDate
// 此处将 formatDate 作为具名导出以覆盖
export { formatDate, FormatDatePlaceholder, type FormatDateRenderer } from './formatDate'
export { formatDate, FormatDatePlaceholder } from './formatDate'
export type { FormatDateRenderer } from './formatDate'

0 comments on commit b7487de

Please sign in to comment.