prefer protected over private so that the class can be extended

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-04-13 14:30:52 +01:00
parent 368e3f9e85
commit 96c067a6c4
1 changed files with 6 additions and 6 deletions

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);