You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Apply corrections identified by SonarQube (#2336)
* Apply corrections identified by SonarQube * Apply corrections identified by SonarQube * Make type more flexible
This commit is contained in:
committed by
GitHub
parent
6137afeb28
commit
b896111269
@@ -464,7 +464,7 @@ export function defer<T = void>(): IDeferred<T> {
|
||||
}
|
||||
|
||||
export async function promiseMapSeries<T>(
|
||||
promises: T[],
|
||||
promises: Array<T | Promise<T>>,
|
||||
fn: (t: T) => void,
|
||||
): Promise<void> {
|
||||
for (const o of promises) {
|
||||
|
||||
Reference in New Issue
Block a user