Fix import error during runtime
This commit is contained in:
parent
f8d2186896
commit
c3e8da7c9f
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
import chalk from 'chalk';
|
||||
import dayjs, { Dayjs } from 'dayjs';
|
||||
import * as readline from 'readline/promises';
|
||||
import { formatDuration, formatTimestamp, getHoursRoundedStr } from './format';
|
||||
import { formatDuration, formatTimestamp, getHoursRoundedStr } from './format.js';
|
||||
import { Duration } from 'dayjs/plugin/duration';
|
||||
import { parseDuration, parseTimestamp } from './parse';
|
||||
import { parseDuration, parseTimestamp } from './parse.js';
|
||||
|
||||
const { log, error } = console;
|
||||
const defaultStartTime = '08:00';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue