mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Implemented strict mode for the project (broken tests, hundreds of @ts-ignore and new errors are included) [skip ci]
This commit is contained in:
committed by
SleepWalker
parent
10e8b77acf
commit
96049ad4ad
@@ -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;
|
||||
|
Reference in New Issue
Block a user