Fix tsc and ESLint warnings

This commit is contained in:
Brian Bowman
2022-07-11 01:17:59 -05:00
parent 51d00add22
commit 53e2b0cbed
10 changed files with 82 additions and 45 deletions

View File

@@ -11,10 +11,6 @@ import Server from '../../resources/icons/server.svg'
import './ServerLaunchSection.css'
import {dataDir} from '@tauri-apps/api/path'
interface IProps {
[key: string]: any
}
interface IState {
grasscutterEnabled: boolean;
buttonLabel: string;
@@ -31,8 +27,8 @@ interface IState {
httpsEnabled: boolean;
}
export default class ServerLaunchSection extends React.Component<IProps, IState> {
constructor(props: IProps) {
export default class ServerLaunchSection extends React.Component<{}, IState> {
constructor(props: {}) {
super(props)
this.state = {