Fix eslint annotations

This commit is contained in:
Vinicius Fortuna 2022-03-10 17:19:27 +00:00
parent 97b891c453
commit 327f6e616e
2 changed files with 3 additions and 2 deletions

1
.gitallowed Normal file
View file

@ -0,0 +1 @@
946220775492-a5v6bsdin6o7ncnqn34snuatmrp7dqh0.apps.googleusercontent.com

View file

@ -713,12 +713,12 @@ export class RestApiClient {
// 'GET', new URL('https://oauth2.googleapis.com/revoke'), headers, parameters);
// }
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private async fetchAuthenticated<T>(
method: string,
url: URL,
headers: Map<string, string>,
parameters?: Map<string, string>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any
): Promise<T> {
const httpHeaders = new Map(headers);
@ -731,12 +731,12 @@ export class RestApiClient {
return this.fetchUnauthenticated(method, url, httpHeaders, parameters, data);
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private async fetchUnauthenticated<T>(
method: string,
url: URL,
headers: Map<string, string>,
parameters?: Map<string, string>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
data?: any
): Promise<T> {
const customHeaders = new Headers();