From 13c9755ff337b27e3d024affdd750c3454e4e8b6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 24 Aug 2022 10:28:59 +0100 Subject: [PATCH] Make types happier --- src/components/views/elements/QRCode.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/elements/QRCode.tsx b/src/components/views/elements/QRCode.tsx index 50b12ae23d..0713edb2fa 100644 --- a/src/components/views/elements/QRCode.tsx +++ b/src/components/views/elements/QRCode.tsx @@ -15,13 +15,13 @@ limitations under the License. */ import * as React from "react"; -import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions } from "qrcode"; +import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions, QRCodeRenderersOptions } from "qrcode"; import classNames from "classnames"; import { _t } from "../../../languageHandler"; import Spinner from "./Spinner"; -interface IProps extends QRCodeToDataURLOptions { +interface IProps extends QRCodeRenderersOptions { data: string | QRCodeSegment[]; className?: string; }