You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-31 15:24:23 +03:00
Lock file maintenance (#3312)
* Lock file maintenance * Fix types * Iterate --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -1698,7 +1698,7 @@ describe("SlidingSync", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function timeout(delayMs: number, reason: string): { promise: Promise<never>; cancel: () => void } {
|
function timeout(delayMs: number, reason: string): { promise: Promise<never>; cancel: () => void } {
|
||||||
let timeoutId: NodeJS.Timeout;
|
let timeoutId: ReturnType<typeof setTimeout>;
|
||||||
return {
|
return {
|
||||||
promise: new Promise((resolve, reject) => {
|
promise: new Promise((resolve, reject) => {
|
||||||
timeoutId = setTimeout(() => {
|
timeoutId = setTimeout(() => {
|
||||||
|
Reference in New Issue
Block a user