Skip to content

Commit

Permalink
fix(utils): add missing customDayjs typings for relativeTime extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Oct 16, 2024
1 parent 054b83f commit c8b3e89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// These imports are required in order to include Dayjs plugins-related type definitions overrides
// for `customDayjs()` util in the published library.
import 'dayjs/plugin/isBetween'
import 'dayjs/plugin/isSameOrAfter'
import 'dayjs/plugin/isSameOrBefore'
import 'dayjs/plugin/localeData'
import 'dayjs/plugin/quarterOfYear'
import 'dayjs/plugin/relativeTime'
import 'dayjs/plugin/timezone'
import 'dayjs/plugin/updateLocale'
import 'dayjs/plugin/utc'
import 'dayjs/plugin/isBetween'

export { GlobalStyle } from './GlobalStyle'
export { OnlyFontGlobalStyle } from './OnlyFontGlobalStyle'
Expand Down

0 comments on commit c8b3e89

Please sign in to comment.