Implemented strict mode for the project (broken tests, hundreds of @ts-ignore and new errors are included) [skip ci]

This commit is contained in:
ErickSkrauch
2020-01-17 23:37:52 +03:00
committed by SleepWalker
parent 10e8b77acf
commit 96049ad4ad
151 changed files with 2470 additions and 1869 deletions

View File

@@ -1,4 +1,4 @@
import React from 'react';
import React, { MouseEventHandler } from 'react';
import { connect } from 'react-redux';
import { FormattedMessage as Message } from 'react-intl';
import { Helmet } from 'react-helmet-async';
@@ -13,7 +13,7 @@ interface Props {
appName: string;
code?: string;
state: string;
displayCode?: string;
displayCode?: boolean;
success?: boolean;
}
@@ -84,7 +84,7 @@ class Finish extends React.Component<Props> {
);
}
onCopyClick = event => {
onCopyClick: MouseEventHandler = event => {
event.preventDefault();
const { code } = this.props;