Skip to content

Commit b023aaa

Browse files
committed
thjs-63: * fix shared typescript build
1 parent 8dabef9 commit b023aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { dayjs } from '../dayjs/dayjs.js';
22

3-
const getFromNowTime = (date: Date): string => dayjs(date).fromNow();
3+
const getFromNowTime = (date: Date | string): string => dayjs(date).fromNow();
44

55
export { getFromNowTime };

0 commit comments

Comments
 (0)