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

@@ -5,11 +5,9 @@ import { assert } from 'chai';
import * as sinon from 'sinon';
import { IMAGE_GIF, IMAGE_PNG } from '../../types/MIME';
import { MessageAttributesType } from '../../model-types.d';
import type { MessageAttributesType } from '../../model-types.d';
import type { Avatar, Email, Phone } from '../../types/EmbeddedContact';
import {
Avatar,
Email,
Phone,
_validate,
embeddedContactSelector,
getName,

View File

@@ -4,7 +4,7 @@
import { assert } from 'chai';
import * as Message from '../../../types/message/initializeAttachmentMetadata';
import { IncomingMessage } from '../../../types/Message';
import type { IncomingMessage } from '../../../types/Message';
import { SignalService } from '../../../protobuf';
import * as MIME from '../../../types/MIME';
import * as Bytes from '../../../Bytes';