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 328816a commit 664f033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,4 @@ export * from './numeralDayToChineseDay'

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

0 comments on commit 664f033

Please sign in to comment.