diff --git a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx index 47fcd0f0e..035a12f61 100644 --- a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx +++ b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx @@ -27,7 +27,7 @@ export class AllListsTable extends React.Component<{}, State> { dataSource={this.state.data} rowKey={record => record.id.toString()} - loading={this.state.data.length == 0 ? true : false} + loading={this.state.data.length === 0 ? true : false} size="middle" pagination={{ position: "top", size: "small" }} > diff --git a/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx b/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx index 52ba6b3f6..e55a65ba5 100644 --- a/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx +++ b/src/FilterLists.Web.V2/src/shared/SubscribeButton.tsx @@ -1,7 +1,6 @@ import { Button } from 'antd'; import { ButtonProps, ButtonType } from "antd/lib/button"; import * as React from "react"; -import { JSXElement } from '@babel/types'; interface Props { name: string; diff --git a/src/FilterLists.Web.V2/tsconfig.json b/src/FilterLists.Web.V2/tsconfig.json index 755462aec..213390d38 100644 --- a/src/FilterLists.Web.V2/tsconfig.json +++ b/src/FilterLists.Web.V2/tsconfig.json @@ -17,7 +17,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "preserve" + "jsx": "preserve", + "noImplicitAny": true }, "include": [ "src"