Update dependency typescript to v5.5.2 (#12688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot] 2024-06-25 16:59:07 +01:00 committed by GitHub
parent 8c3cc6159e
commit 4bf8766885
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 45 additions and 31 deletions

View file

@ -16,7 +16,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React, { ComponentProps, createRef, useState, forwardRef } from "react";
import React, { createRef, useState, forwardRef } from "react";
import classNames from "classnames";
import { MatrixCall } from "matrix-js-sdk/src/webrtc/call";
@ -32,7 +32,7 @@ import {
import { _t } from "../../../../languageHandler";
import DeviceContextMenu from "../../context_menus/DeviceContextMenu";
import { MediaDeviceKindEnum } from "../../../../MediaDeviceHandler";
import AccessibleButton, { ButtonEvent } from "../../elements/AccessibleButton";
import AccessibleButton, { ButtonEvent, ButtonProps as AccessibleButtonProps } from "../../elements/AccessibleButton";
// Height of the header duplicated from CSS because we need to subtract it from our max
// height to get the max height of the video
@ -40,7 +40,7 @@ const CONTEXT_MENU_VPADDING = 8; // How far the context menu sits above the butt
const CONTROLS_HIDE_DELAY = 2000;
type ButtonProps = Omit<ComponentProps<typeof AccessibleButton>, "title" | "element"> & {
type ButtonProps = Omit<AccessibleButtonProps<"div">, "title" | "element"> & {
state: boolean;
onLabel?: string;
offLabel?: string;