Skip to content

Commit

Permalink
fix missed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
a-korzun committed Apr 14, 2021
1 parent 1ca2920 commit c3b69b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatDistanceStrict/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default function formatDistanceStrict(
unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year',
roundingMethod?: 'floor' | 'ceil' | 'round',
} = {}
) {
): string {
requiredArgs(2, arguments)

const locale = options.locale || defaultLocale
Expand Down

0 comments on commit c3b69b9

Please sign in to comment.