mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
chore: ♻️ Replace all @ts-ignore with @ts-expect-error
This commit is contained in:
parent
a8132e8d53
commit
2cf1537a7e
4 changed files with 6 additions and 6 deletions
|
|
@ -344,10 +344,10 @@ export const qsQuery = () => {
|
|||
interpretNumericEntities: true,
|
||||
});
|
||||
|
||||
// @ts-ignore Very bad hack
|
||||
// @ts-expect-error Very bad hack
|
||||
context.req.query = () => parsed;
|
||||
|
||||
// @ts-ignore I'm so sorry for this
|
||||
// @ts-expect-error I'm so sorry for this
|
||||
context.req.queries = () => parsed;
|
||||
await next();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue