Improve typing (#7349)
This commit is contained in:
parent
b2548f05a8
commit
7033f8696a
8 changed files with 24 additions and 11 deletions
|
@ -33,6 +33,7 @@ import { EventType } from 'matrix-js-sdk/src/@types/event';
|
|||
import { RoomState } from 'matrix-js-sdk/src/models/room-state';
|
||||
import { CallState, CallType, MatrixCall } from "matrix-js-sdk/src/webrtc/call";
|
||||
import { throttle } from "lodash";
|
||||
import { MatrixError } from 'matrix-js-sdk/src/http-api';
|
||||
|
||||
import shouldHideEvent from '../../shouldHideEvent';
|
||||
import { _t } from '../../languageHandler';
|
||||
|
@ -164,7 +165,7 @@ export interface IRoomState {
|
|||
// error object, as from the matrix client/server API
|
||||
// If we failed to load information about the room,
|
||||
// store the error here.
|
||||
roomLoadError?: Error;
|
||||
roomLoadError?: MatrixError;
|
||||
// Have we sent a request to join the room that we're waiting to complete?
|
||||
joining: boolean;
|
||||
// this is true if we are fully scrolled-down, and are looking at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue