mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
test(memories): type the Synology fakes' request init as RequestInit
The fakes that answer safeFetch by API took their init as any; safeFetch declares it as RequestInit, which is what they read (the body as URLSearchParams or text). The SSRF album case had gained one more of them, which put the tests' no-explicit-any count one over its baseline. All five are typed now, and the baseline is lowered to the 1545 the tests hold.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"no-misleading-character-class": 1
|
||||
},
|
||||
"tests": {
|
||||
"@typescript-eslint/no-explicit-any": 1549,
|
||||
"@typescript-eslint/no-explicit-any": 1545,
|
||||
"@typescript-eslint/no-non-null-assertion": 1747,
|
||||
"@typescript-eslint/no-require-imports": 25,
|
||||
"@typescript-eslint/no-unsafe-function-type": 7,
|
||||
|
||||
Reference in New Issue
Block a user