Make more of the codebase conform to strict types (#10859)
This commit is contained in:
committed by
GitHub
parent
6f58dd49e3
commit
f758cbd38a
@@ -41,7 +41,7 @@ interface IState {
|
||||
|
||||
export default class GeneralRoomSettingsTab extends React.Component<IProps, IState> {
|
||||
public static contextType = MatrixClientContext;
|
||||
public context: ContextType<typeof MatrixClientContext>;
|
||||
public context!: ContextType<typeof MatrixClientContext>;
|
||||
|
||||
public constructor(props: IProps, context: ContextType<typeof MatrixClientContext>) {
|
||||
super(props, context);
|
||||
|
||||
Reference in New Issue
Block a user