mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-04 07:05:26 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -156,8 +156,7 @@ export async function scaleImageToLevel({
|
||||
};
|
||||
}
|
||||
|
||||
for (let i = 0; i < SCALABLE_DIMENSIONS.length; i += 1) {
|
||||
const scalableDimensions = SCALABLE_DIMENSIONS[i];
|
||||
for (const scalableDimensions of SCALABLE_DIMENSIONS) {
|
||||
if (maxDimensions < scalableDimensions) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user