Switch to importing more things from the main js-sdk export (#11377)

This commit is contained in:
Michael Telatynski
2023-08-10 09:01:14 +01:00
committed by GitHub
parent a1328d8ef7
commit ef385e6028
47 changed files with 136 additions and 95 deletions

View File

@@ -14,9 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { SERVICE_TYPES } from "matrix-js-sdk/src/service-types";
import { SERVICE_TYPES, HTTPError, MatrixClient } from "matrix-js-sdk/src/matrix";
import { logger } from "matrix-js-sdk/src/logger";
import { HTTPError, MatrixClient } from "matrix-js-sdk/src/matrix";
import SdkConfig from "../SdkConfig";
import { Policies } from "../Terms";

View File

@@ -14,8 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { ClientEvent, ClientEventHandlerMap } from "matrix-js-sdk/src/matrix";
import { SyncState } from "matrix-js-sdk/src/sync";
import { ClientEvent, ClientEventHandlerMap, SyncState } from "matrix-js-sdk/src/matrix";
/**
* Creates a MatrixClient event listener function that can be used to get notified about reconnects.