Consume more imports from matrix-js-sdk/src/matrix (#11449)
This commit is contained in:
parent
aa6e3654b8
commit
99e80dd296
89 changed files with 236 additions and 172 deletions
|
@ -16,8 +16,7 @@ limitations under the License.
|
|||
|
||||
/// <reference types="cypress" />
|
||||
|
||||
import type { MatrixClient, MatrixEvent, ISendEventResponse } from "matrix-js-sdk/src/matrix";
|
||||
import type { ReceiptType } from "matrix-js-sdk/src/@types/read_receipts";
|
||||
import type { MatrixClient, MatrixEvent, ISendEventResponse, ReceiptType } from "matrix-js-sdk/src/matrix";
|
||||
import { HomeserverInstance } from "../../plugins/utils/homeserver";
|
||||
|
||||
describe("Read receipts", () => {
|
||||
|
|
1
cypress/global.d.ts
vendored
1
cypress/global.d.ts
vendored
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||
import "../src/@types/global";
|
||||
import "../src/@types/svg";
|
||||
import "../src/@types/raw-loader";
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import "matrix-js-sdk/src/@types/global";
|
||||
import type {
|
||||
MatrixClient,
|
||||
|
|
|
@ -26,8 +26,8 @@ import type {
|
|||
UploadOpts,
|
||||
ICreateRoomOpts,
|
||||
ISendEventResponse,
|
||||
ReceiptType,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
import type { ReceiptType } from "matrix-js-sdk/src/@types/read_receipts";
|
||||
import Chainable = Cypress.Chainable;
|
||||
import { UserCredentials } from "./login";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue