diff --git a/lib/gui/app/components/drive-selector/DriveSelectorModal.tsx b/lib/gui/app/components/drive-selector/DriveSelectorModal.tsx index 97aaad52..c93f3f68 100644 --- a/lib/gui/app/components/drive-selector/DriveSelectorModal.tsx +++ b/lib/gui/app/components/drive-selector/DriveSelectorModal.tsx @@ -173,7 +173,7 @@ export function DriveSelectorModal({ close }: { close: () => void }) {
  • attribute but used by css rule) + // @ts-ignore (FIXME: not a valid
  • attribute but used by css rule) disabled={!isDriveValid(drive, selectionState.getImage())} onDoubleClick={() => selectDriveAndClose(drive)} onClick={() => toggleDrive(drive)} @@ -243,7 +243,7 @@ export function DriveSelectorModal({ close }: { close: () => void }) { {isDriveValid(drive, selectionState.getImage()) && ( attribute but used by css rule) + // @ts-ignore (FIXME: not a valid attribute but used by css rule) disabled={!selectionState.isDriveSelected(drive.device)} > )} diff --git a/lib/gui/app/components/settings/settings.tsx b/lib/gui/app/components/settings/settings.tsx index 066a07ca..3ff61072 100644 --- a/lib/gui/app/components/settings/settings.tsx +++ b/lib/gui/app/components/settings/settings.tsx @@ -137,7 +137,6 @@ export const SettingsModal: any = styled( setting, value, dangerous, - // @ts-ignore applicationSessionUuid: store.getState().toJS().applicationSessionUuid, }); diff --git a/lib/gui/app/modules/image-writer.ts b/lib/gui/app/modules/image-writer.ts index 81d79661..e0f5a9c2 100644 --- a/lib/gui/app/modules/image-writer.ts +++ b/lib/gui/app/modules/image-writer.ts @@ -185,7 +185,6 @@ export function performWrite( cancelled = true; }); - // @ts-ignore ipc.server.on('state', onProgress); ipc.server.on('ready', (_data, socket) => { diff --git a/lib/gui/app/pages/main/MainPage.tsx b/lib/gui/app/pages/main/MainPage.tsx index cd6b9a77..2be480c5 100644 --- a/lib/gui/app/pages/main/MainPage.tsx +++ b/lib/gui/app/pages/main/MainPage.tsx @@ -46,7 +46,6 @@ function getDrivesTitle() { const drives = selectionState.getSelectedDrives(); if (drives.length === 1) { - // @ts-ignore return drives[0].description || 'Untitled Device'; } diff --git a/lib/gui/modules/child-writer.ts b/lib/gui/modules/child-writer.ts index 6e771735..dd4d90d3 100644 --- a/lib/gui/modules/child-writer.ts +++ b/lib/gui/modules/child-writer.ts @@ -97,7 +97,6 @@ async function writeAndValidate( ): Promise { let innerSource: sdk.sourceDestination.SourceDestination = await source.getInnerSource(); if (trim && (await innerSource.canRead())) { - // @ts-ignore FIXME: ts thinks that SparseReadStream can't be assigned to SparseReadable (which it implements) innerSource = new sdk.sourceDestination.ConfiguredSource({ source: innerSource, shouldTrimPartitions: trim, @@ -109,7 +108,6 @@ async function writeAndValidate( bytesWritten, } = await sdk.multiWrite.pipeSourceToDestinations( innerSource, - // @ts-ignore FIXME: ts thinks that BlockWriteStream can't be assigned to WritableStream (which it implements) destinations, onFail, onProgress, @@ -231,7 +229,6 @@ ipc.connectTo(IPC_SERVER_ID, () => { }); try { const results = await writeAndValidate( - // @ts-ignore FIXME: ts thinks that SparseWriteStream can't be assigned to SparseWritable (which it implements) source, dests, options.validateWriteOnSuccess,