Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)

* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier
This commit is contained in:
Michael Telatynski 2022-12-16 12:29:59 +00:00 committed by GitHub
parent 51554399fb
commit f1e8e7f140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
396 changed files with 1110 additions and 1098 deletions

View file

@ -125,7 +125,7 @@ export default class Registration extends React.Component<IProps, IState> {
// `replaceClient` tracks latest serverConfig to spot when it changes under the async method which fetches flows
private latestServerConfig: ValidatedServerConfig;
constructor(props) {
public constructor(props) {
super(props);
this.state = {
@ -148,13 +148,13 @@ export default class Registration extends React.Component<IProps, IState> {
});
}
componentDidMount() {
public componentDidMount() {
this.replaceClient(this.props.serverConfig);
//triggers a confirmation dialog for data loss before page unloads/refreshes
window.addEventListener("beforeunload", this.unloadCallback);
}
componentWillUnmount() {
public componentWillUnmount() {
window.removeEventListener("beforeunload", this.unloadCallback);
}
@ -565,7 +565,7 @@ export default class Registration extends React.Component<IProps, IState> {
}
}
render() {
public render() {
let errorText;
const err = this.state.errorText;
if (err) {