Show that we've proved to TypeScript that the media is user media
This commit is contained in:
@@ -203,7 +203,8 @@ export class TileStoreBuilder {
|
|||||||
media === this.prevSpotlightSpeaker &&
|
media === this.prevSpotlightSpeaker &&
|
||||||
this.spotlight.media.length === 1 &&
|
this.spotlight.media.length === 1 &&
|
||||||
"speaking$" in this.spotlight.media[0] &&
|
"speaking$" in this.spotlight.media[0] &&
|
||||||
this.prevSpotlightSpeaker !== this.spotlight.media[0]
|
this.prevSpotlightSpeaker !==
|
||||||
|
(this.spotlight.media[0] satisfies UserMediaViewModel)
|
||||||
) {
|
) {
|
||||||
const prev = this.prevGridByMedia.get(this.spotlight.media[0]);
|
const prev = this.prevGridByMedia.get(this.spotlight.media[0]);
|
||||||
if (prev !== undefined) {
|
if (prev !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user