Add types from merge & fix import order
This commit is contained in:
parent
055fbe786d
commit
00ffa1b6cd
3 changed files with 2 additions and 1 deletions
0
src/types.d.ts → src/@types/modules.d.ts
vendored
0
src/types.d.ts → src/@types/modules.d.ts
vendored
|
@ -17,6 +17,7 @@ limitations under the License.
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import useMeasure from "react-use-measure";
|
import useMeasure from "react-use-measure";
|
||||||
import { ResizeObserver } from "@juggle/resize-observer";
|
import { ResizeObserver } from "@juggle/resize-observer";
|
||||||
|
import { OtherUserSpeakingError } from "matrix-js-sdk/src/webrtc/groupCall";
|
||||||
|
|
||||||
import { useModalTriggerState } from "../Modal";
|
import { useModalTriggerState } from "../Modal";
|
||||||
import { SettingsModal } from "../settings/SettingsModal";
|
import { SettingsModal } from "../settings/SettingsModal";
|
||||||
|
@ -33,7 +34,6 @@ import { Timer } from "./Timer";
|
||||||
import { Toggle } from "../input/Toggle";
|
import { Toggle } from "../input/Toggle";
|
||||||
import { getAvatarUrl } from "../matrix-utils";
|
import { getAvatarUrl } from "../matrix-utils";
|
||||||
import { ReactComponent as AudioIcon } from "../icons/Audio.svg";
|
import { ReactComponent as AudioIcon } from "../icons/Audio.svg";
|
||||||
import { OtherUserSpeakingError } from "matrix-js-sdk/src/webrtc/groupCall";
|
|
||||||
|
|
||||||
export function PTTCallView({
|
export function PTTCallView({
|
||||||
client,
|
client,
|
||||||
|
|
|
@ -27,6 +27,7 @@ export interface PTTState {
|
||||||
activeSpeakerUserId: string;
|
activeSpeakerUserId: string;
|
||||||
startTalking: () => void;
|
startTalking: () => void;
|
||||||
stopTalking: () => void;
|
stopTalking: () => void;
|
||||||
|
unmuteError: Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const usePTT = (
|
export const usePTT = (
|
||||||
|
|
Loading…
Add table
Reference in a new issue