Prefer import type when importing types

This commit is contained in:
Evan Hahn
2021-10-26 14:15:33 -05:00
committed by GitHub
parent 0f635af8a9
commit 74fde10ff5
721 changed files with 2037 additions and 1947 deletions

View File

@@ -8,14 +8,14 @@ import dataInterface from '../sql/Client';
import * as durations from '../util/durations';
import { downloadAttachment } from '../util/downloadAttachment';
import * as Bytes from '../Bytes';
import {
import type {
AttachmentDownloadJobType,
AttachmentDownloadJobTypeType,
} from '../sql/Interface';
import { MessageModel } from '../models/messages';
import { AttachmentType } from '../types/Attachment';
import { LoggerType } from '../types/Logging';
import type { MessageModel } from '../models/messages';
import type { AttachmentType } from '../types/Attachment';
import type { LoggerType } from '../types/Logging';
import * as log from '../logging/log';
const {