1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Apply lint rule @typescript-eslint/no-empty-object-type (#4679)

This commit is contained in:
Michael Telatynski
2025-02-04 13:41:32 +00:00
committed by GitHub
parent 72519a0eb4
commit ea34cce00a
20 changed files with 108 additions and 84 deletions

View File

@@ -68,7 +68,7 @@ export class FetchHttpApi<O extends IHttpOpts> {
this.opts.idBaseUrl = url;
}
public idServerRequest<T extends {} = Record<string, unknown>>(
public idServerRequest<T extends object = Record<string, unknown>>(
method: Method,
path: string,
params: Record<string, string | string[]> | undefined,