66
77import { dialog , getCurrentWindow } from '@electron/remote' ;
88import {
9- AppThunk ,
9+ type AppThunk ,
1010 describeError ,
11- Device ,
11+ type Device ,
1212 logger ,
1313} from '@nordicsemiconductor/pc-nrfconnect-shared' ;
1414import {
15- BatchCallbacks ,
16- DeviceBatch ,
17- DeviceCore ,
18- DeviceCoreInfo ,
19- DeviceInfo ,
20- GetProtectionStatusResult ,
15+ type BatchCallbacks ,
16+ type DeviceBatch ,
17+ type DeviceCore ,
18+ type DeviceCoreInfo ,
19+ type DeviceInfo ,
20+ type GetProtectionStatusResult ,
2121 NrfutilDeviceLib ,
22- ReadResult ,
22+ type ReadResult ,
2323} from '@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device' ;
24- import { XReadOptions } from '@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device/xRead' ;
24+ import { type XReadOptions } from '@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device/xRead' ;
2525import { setSelectedDeviceInfo } from '@nordicsemiconductor/pc-nrfconnect-shared/src/Device/deviceSlice' ;
2626import fs from 'fs' ;
27- import MemoryMap , { MemoryMaps } from 'nrf-intel-hex' ;
27+ import MemoryMap , { type MemoryMaps } from 'nrf-intel-hex' ;
2828
2929import {
3030 getDeviceDefinition ,
@@ -34,14 +34,17 @@ import {
3434 updateCoreOperations ,
3535 updateCoreProtection ,
3636} from '../reducers/deviceDefinitionReducer' ;
37- import { RootState } from '../reducers/types' ;
37+ import { type RootState } from '../reducers/types' ;
3838import {
3939 convertDeviceDefinitionToCoreArray ,
4040 generateMergedMemMap ,
4141 getDefaultDeviceInfoByJlinkFamily ,
4242 mergeNrfutilDeviceInfoInCoreDefinition ,
4343} from '../util/devices' ;
44- import { CoreDefinition , DeviceDefinition } from '../util/deviceTypes' ;
44+ import {
45+ type CoreDefinition ,
46+ type DeviceDefinition ,
47+ } from '../util/deviceTypes' ;
4548
4649let abortController : AbortController | undefined ;
4750
0 commit comments