mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Prefer import type when importing types
This commit is contained in:
@@ -5,7 +5,8 @@ import { assert } from 'chai';
|
||||
import { actions } from '../../../state/ducks/audioPlayer';
|
||||
import { noopAction } from '../../../state/ducks/noop';
|
||||
import { isPaused } from '../../../state/selectors/audioPlayer';
|
||||
import { StateType, reducer as rootReducer } from '../../../state/reducer';
|
||||
import type { StateType } from '../../../state/reducer';
|
||||
import { reducer as rootReducer } from '../../../state/reducer';
|
||||
|
||||
describe('state/selectors/audioPlayer', () => {
|
||||
const getEmptyRootState = (): StateType => {
|
||||
|
||||
@@ -16,12 +16,12 @@ import {
|
||||
getIncomingCall,
|
||||
isInCall,
|
||||
} from '../../../state/selectors/calling';
|
||||
import {
|
||||
getEmptyState,
|
||||
import type {
|
||||
CallingStateType,
|
||||
DirectCallStateType,
|
||||
GroupCallStateType,
|
||||
} from '../../../state/ducks/calling';
|
||||
import { getEmptyState } from '../../../state/ducks/calling';
|
||||
|
||||
describe('state/selectors/calling', () => {
|
||||
const getEmptyRootState = () => rootReducer(undefined, noopAction());
|
||||
|
||||
@@ -5,11 +5,11 @@ import { assert } from 'chai';
|
||||
import * as moment from 'moment';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { SendStatus } from '../../../messages/MessageSendState';
|
||||
import {
|
||||
import type {
|
||||
MessageAttributesType,
|
||||
ShallowChallengeError,
|
||||
} from '../../../model-types.d';
|
||||
import { ConversationType } from '../../../state/ducks/conversations';
|
||||
import type { ConversationType } from '../../../state/ducks/conversations';
|
||||
|
||||
import {
|
||||
canDeleteForEveryone,
|
||||
|
||||
Reference in New Issue
Block a user