ref(TS) Improve TS (#13167)

Fix some errors. Remove @ts-ignores
Convert some files to TS
Remove some eslint-disables
This commit is contained in:
Robert Pintilii
2023-04-04 17:08:59 +03:00
committed by GitHub
parent a828cacbfe
commit 3a2a129f44
73 changed files with 300 additions and 357 deletions

View File

@@ -30,7 +30,6 @@ import AbstractConnectionIndicator, {
mapStateToProps as _abstractMapStateToProps
} from '../AbstractConnectionIndicator';
// @ts-ignore
import ConnectionIndicatorContent from './ConnectionIndicatorContent';
// eslint-disable-next-line lines-around-comment
// @ts-ignore
@@ -247,8 +246,6 @@ class ConnectionIndicator extends AbstractConnectionIndicator<IProps, IState> {
onPopoverClose = { this._onHidePopover }
onPopoverOpen = { this._onShowPopover }
position = { statsPopoverPosition }
// @ts-ignore
visible = { this.state.popoverVisible }>
{ this._renderIndicator() }
</Popover>