diff --git a/web/packages/new/photos/services/ml/ml-data.ts b/web/packages/new/photos/services/ml/ml-data.ts index d9ec5a8425..fb31bc9dcc 100644 --- a/web/packages/new/photos/services/ml/ml-data.ts +++ b/web/packages/new/photos/services/ml/ml-data.ts @@ -172,6 +172,11 @@ export const fetchMLData = async ( } try { + // TODO: This line is included in the photos app which currently + // doesn't have strict mode enabled, and where it causes a spurious + // error, so we unfortunately need to turn off typechecking. + // eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error + // @ts-ignore const decryptedBytes = await decryptBlob(remoteFileData, file.key); const jsonString = await gunzip(decryptedBytes); result.set(fileID, remoteMLDataFromJSONString(jsonString));