Skip type checking in several files

This commit is contained in:
Darren Clarke 2023-03-22 08:17:51 +00:00
parent fb3d574121
commit 485570a06c
7 changed files with 124 additions and 68 deletions

View file

@ -1,3 +1,4 @@
// @ts-nocheck
/* eslint-disable react/display-name */
import { forwardRef } from "react";
import useDigitInput, { InputAttributes } from "react-digit-input";
@ -8,7 +9,7 @@ const DigitInputElement = forwardRef<
Omit<InputAttributes, "ref"> & {
autoFocus?: boolean;
}
>(({ ...props }, ref) => (
>(({ ...props }, ref): any => (
<>
<input
aria-label="verification code"
@ -27,7 +28,7 @@ const DigitSeparator = forwardRef<
}
>(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
({ ...props }, ref) => (
({ ...props }, ref): any => (
<>
<span className={styles.hyphen} ref={ref} />
</>

View file

@ -1,3 +1,4 @@
// @ts-nocheck
/* eslint-disable camelcase */
import { FC, useState } from "react";
import { useSelector } from "react-redux";

View file

@ -1,3 +1,4 @@
// @ts-nocheck
import { FC, PropsWithChildren, Fragment, ReactElement } from "react";
import ExpandMore from "@material-ui/icons/ExpandMore";
import List from "@material-ui/core/List";

View file

@ -1,3 +1,4 @@
// @ts-nocheck
import React, { useState } from "react";
import {
Show,

View file

@ -1,3 +1,4 @@
// @ts-nocheck
import { NextPage } from "next";
import { Typography, Box, Button, Grid, Link } from "@material-ui/core";
import { FC, useEffect } from "react";