Selaa lähdekoodia

fix(flow): ignore contentHint

I don't know how to modify built-in MediaStreamTrack type, so ignore the error.
master
paweldomas 5 vuotta sitten
vanhempi
commit
ab5c8d49c3

+ 1
- 0
react/features/stream-effects/presenter/JitsiStreamPresenterEffect.js Näytä tiedosto

@@ -145,6 +145,7 @@ export default class JitsiStreamPresenterEffect {
145 145
 
146 146
         // Put emphasis on the text details for the presenter's stream
147 147
         // See https://www.w3.org/TR/mst-content-hint/
148
+        // $FlowExpectedError
148 149
         capturedStream.getVideoTracks()[0].contentHint = 'text';
149 150
 
150 151
         return capturedStream;

Loading…
Peruuta
Tallenna