Make types happier

pull/28788/head^2
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
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}