Conform more of the codebase to strictNullChecks (#10800)
This commit is contained in:
parent
adb29b38a3
commit
456c66db5b
46 changed files with 147 additions and 123 deletions
|
@ -126,7 +126,7 @@ export class VoiceBroadcastRecorder
|
|||
return;
|
||||
}
|
||||
|
||||
this.setCurrentChunkLength(this.voiceRecording.recorderSeconds - this.previousChunkEndTimePosition);
|
||||
this.setCurrentChunkLength(this.voiceRecording.recorderSeconds! - this.previousChunkEndTimePosition);
|
||||
this.handleData(dataArray);
|
||||
};
|
||||
|
||||
|
@ -154,7 +154,7 @@ export class VoiceBroadcastRecorder
|
|||
return null;
|
||||
}
|
||||
|
||||
const currentRecorderTime = this.voiceRecording.recorderSeconds;
|
||||
const currentRecorderTime = this.voiceRecording.recorderSeconds!;
|
||||
const payload: ChunkRecordedPayload = {
|
||||
buffer: concat(this.opusHead!, this.opusTags!, this.chunkBuffer),
|
||||
length: this.getCurrentChunkLength(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue