mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-20 05:26:20 +00:00
Add import type whenever possible
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { endOfDay, format, formatISO, startOfDay, subDays } from 'date-fns';
|
||||
import type {
|
||||
DateInterval } from '../../../src/utils/helpers/dateIntervals';
|
||||
import {
|
||||
DateInterval,
|
||||
dateRangeIsEmpty,
|
||||
dateToMatchingInterval,
|
||||
intervalToDateRange,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { determineOrderDir, OrderDir, orderToString, stringToOrder } from '../../../src/utils/helpers/ordering';
|
||||
import type { OrderDir } from '../../../src/utils/helpers/ordering';
|
||||
import { determineOrderDir, orderToString, stringToOrder } from '../../../src/utils/helpers/ordering';
|
||||
|
||||
describe('ordering', () => {
|
||||
describe('determineOrderDir', () => {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { buildQrCodeUrl, QrCodeFormat, QrErrorCorrection } from '../../../src/utils/helpers/qrCodes';
|
||||
import type { QrCodeFormat, QrErrorCorrection } from '../../../src/utils/helpers/qrCodes';
|
||||
import { buildQrCodeUrl } from '../../../src/utils/helpers/qrCodes';
|
||||
|
||||
describe('qrCodes', () => {
|
||||
describe('buildQrCodeUrl', () => {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Mock } from 'ts-mockery';
|
||||
import { SemVer, versionMatch, Versions } from '../../../src/utils/helpers/version';
|
||||
import { Empty } from '../../../src/utils/utils';
|
||||
import type { SemVer, Versions } from '../../../src/utils/helpers/version';
|
||||
import { versionMatch } from '../../../src/utils/helpers/version';
|
||||
import type { Empty } from '../../../src/utils/utils';
|
||||
|
||||
describe('version', () => {
|
||||
describe('versionMatch', () => {
|
||||
|
||||
Reference in New Issue
Block a user