mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -92,7 +92,7 @@ export class GumVideoCapturer {
|
||||
return;
|
||||
}
|
||||
|
||||
const settings = this.mediaStream.getVideoTracks()?.[0].getSettings();
|
||||
const settings = this.mediaStream.getVideoTracks()?.[0]?.getSettings();
|
||||
if (!settings?.width || !settings?.height) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user