You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Enable noImplicitAny (#2895)
* Stash noImplicitAny work * Enable noImplicitAny * Update olm * Fun * Fix msgid stuff * Fix tests * Attempt to fix Browserify
This commit is contained in:
committed by
GitHub
parent
6f81371e61
commit
8d018f9c2d
@ -933,7 +933,7 @@ describe('Call', function() {
|
||||
await fakeIncomingCall(client, call, "1");
|
||||
});
|
||||
|
||||
const untilEventSent = async (...args) => {
|
||||
const untilEventSent = async (...args: any[]) => {
|
||||
const maxTries = 20;
|
||||
|
||||
for (let tries = 0; tries < maxTries; ++tries) {
|
||||
@ -971,7 +971,7 @@ describe('Call', function() {
|
||||
});
|
||||
|
||||
describe("ICE candidate sending", () => {
|
||||
let mockPeerConn;
|
||||
let mockPeerConn: MockRTCPeerConnection;
|
||||
const fakeCandidateString = "here is a fake candidate!";
|
||||
const fakeCandidateEvent = {
|
||||
candidate: {
|
||||
@ -1086,7 +1086,7 @@ describe('Call', function() {
|
||||
});
|
||||
|
||||
describe("Screen sharing", () => {
|
||||
const waitNegotiateFunc = resolve => {
|
||||
const waitNegotiateFunc = (resolve: Function): void => {
|
||||
mockSendEvent.mockImplementationOnce(() => {
|
||||
// Note that the peer connection here is a dummy one and always returns
|
||||
// dummy SDP, so there's not much point returning the content: the SDP will
|
||||
|
Reference in New Issue
Block a user