Make types happier

This commit is contained in:
Michael Telatynski 2022-08-24 10:28:59 +01:00
parent 95e78f6210
commit 13c9755ff3
No known key found for this signature in database
GPG key ID: 98BC6A2B829297FE

View file

@ -15,13 +15,13 @@ limitations under the License.
*/ */
import * as React from "react"; import * as React from "react";
import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions } from "qrcode"; import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions, QRCodeRenderersOptions } from "qrcode";
import classNames from "classnames"; import classNames from "classnames";
import { _t } from "../../../languageHandler"; import { _t } from "../../../languageHandler";
import Spinner from "./Spinner"; import Spinner from "./Spinner";
interface IProps extends QRCodeToDataURLOptions { interface IProps extends QRCodeRenderersOptions {
data: string | QRCodeSegment[]; data: string | QRCodeSegment[];
className?: string; className?: string;
} }