mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-03 06:41:19 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -163,7 +163,8 @@ export class MessageCache {
|
||||
}
|
||||
const { [obsoleteId]: obsoleteSendState, ...rest } = sendState;
|
||||
return {
|
||||
[conversationId]: obsoleteSendState,
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
[conversationId]: obsoleteSendState!,
|
||||
...rest,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user