Enable @typescript-eslint/explicit-member-accessibility
on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
parent
51554399fb
commit
f1e8e7f140
396 changed files with 1110 additions and 1098 deletions
|
@ -43,7 +43,7 @@ export default class SpellCheckLanguagesDropdown extends React.Component<
|
|||
SpellCheckLanguagesDropdownIProps,
|
||||
SpellCheckLanguagesDropdownIState
|
||||
> {
|
||||
constructor(props) {
|
||||
public constructor(props) {
|
||||
super(props);
|
||||
this.onSearchChange = this.onSearchChange.bind(this);
|
||||
|
||||
|
@ -53,7 +53,7 @@ export default class SpellCheckLanguagesDropdown extends React.Component<
|
|||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
public componentDidMount() {
|
||||
const plaf = PlatformPeg.get();
|
||||
if (plaf) {
|
||||
plaf.getAvailableSpellCheckLanguages()
|
||||
|
@ -82,7 +82,7 @@ export default class SpellCheckLanguagesDropdown extends React.Component<
|
|||
this.setState({ searchQuery });
|
||||
}
|
||||
|
||||
render() {
|
||||
public render() {
|
||||
if (this.state.languages === null) {
|
||||
return <Spinner />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue