Prefer import type
when importing types
This commit is contained in:
parent
0f635af8a9
commit
74fde10ff5
721 changed files with 2037 additions and 1947 deletions
|
@ -6,11 +6,10 @@ import { ipcRenderer } from 'electron';
|
|||
import { v4 as genUuid } from 'uuid';
|
||||
|
||||
import { blobToArrayBuffer } from '../types/VisualAttachment';
|
||||
import { IMAGE_JPEG, MIMEType, isHeic, stringToMIMEType } from '../types/MIME';
|
||||
import {
|
||||
InMemoryAttachmentDraftType,
|
||||
canBeTranscoded,
|
||||
} from '../types/Attachment';
|
||||
import type { MIMEType } from '../types/MIME';
|
||||
import { IMAGE_JPEG, isHeic, stringToMIMEType } from '../types/MIME';
|
||||
import type { InMemoryAttachmentDraftType } from '../types/Attachment';
|
||||
import { canBeTranscoded } from '../types/Attachment';
|
||||
import { imageToBlurHash } from './imageToBlurHash';
|
||||
import { scaleImageToLevel } from './scaleImageToLevel';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue