Skip to content

Commit

Permalink
thjs-63: * fix shared typescript build
Browse files Browse the repository at this point in the history
  • Loading branch information
v0ldemar01 committed Dec 16, 2023
1 parent 8dabef9 commit b023aaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { dayjs } from '../dayjs/dayjs.js';

const getFromNowTime = (date: Date): string => dayjs(date).fromNow();
const getFromNowTime = (date: Date | string): string => dayjs(date).fromNow();

export { getFromNowTime };

0 comments on commit b023aaa

Please sign in to comment.