Move DesktopCapturerSource out of global.d.ts

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-09-01 18:22:07 +02:00
parent 7ae9f3d1ae
commit 5ed4f3f54f
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -22,6 +22,7 @@ import classNames from 'classnames';
import AccessibleButton from './AccessibleButton'; import AccessibleButton from './AccessibleButton';
import { replaceableComponent } from "../../../utils/replaceableComponent"; import { replaceableComponent } from "../../../utils/replaceableComponent";
import TabbedView, { Tab, TabLocation } from '../../structures/TabbedView'; import TabbedView, { Tab, TabLocation } from '../../structures/TabbedView';
import { DesktopCapturerSource } from "matrix-js-sdk/src/webrtc/call";
export function getDesktopCapturerSources(): Promise<Array<DesktopCapturerSource>> { export function getDesktopCapturerSources(): Promise<Array<DesktopCapturerSource>> {
const options: GetSourcesOptions = { const options: GetSourcesOptions = {