mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
migrate numeral.js to ts
This commit is contained in:
@@ -4,7 +4,7 @@ import services from '@/lib/services.js';
|
||||
import logger from '@/lib/logger.js';
|
||||
import { isEquals } from '@/lib/common.ts';
|
||||
import { getCurrentUnixTime, formatUnixTime } from '@/lib/datetime.ts';
|
||||
import { getExchangedAmount } from '@/lib/numeral.js';
|
||||
import { getExchangedAmount } from '@/lib/numeral.ts';
|
||||
|
||||
const exchangeRatesLocalStorageKey = 'ebk_app_exchange_rates';
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ import {
|
||||
getDay,
|
||||
getDayOfWeekName
|
||||
} from '@/lib/datetime.ts';
|
||||
import { getAmountWithDecimalNumberCount } from '@/lib/numeral.js';
|
||||
import { getAmountWithDecimalNumberCount } from '@/lib/numeral.ts';
|
||||
import { getCurrencyFraction } from '@/lib/currency.ts';
|
||||
import { getFirstAvailableCategoryId } from '@/lib/category.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user