prefer protected over private so that the class can be extended

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-13 14:30:52 +01:00
parent 368e3f9e85
commit 96c067a6c4

View File

@ -126,12 +126,12 @@ class LoggedInView extends React.PureComponent<IProps, IState> {
// and lots and lots of other stuff.
};
private readonly _matrixClient: MatrixClient;
private readonly _roomView: React.RefObject<any>;
private readonly _resizeContainer: React.RefObject<ResizeHandle>;
private readonly _sessionStore: sessionStore;
private readonly _sessionStoreToken: { remove: () => void };
private resizer: Resizer;
protected readonly _matrixClient: MatrixClient;
protected readonly _roomView: React.RefObject<any>;
protected readonly _resizeContainer: React.RefObject<ResizeHandle>;
protected readonly _sessionStore: sessionStore;
protected readonly _sessionStoreToken: { remove: () => void };
protected resizer: Resizer;
constructor(props, context) {
super(props, context);