thepeacockproject / Peacock

The Peacock Project is a HITMAN™ World of Assassination trilogy server replacement.
https://thepeacockproject.org
GNU Affero General Public License v3.0
367 stars 57 forks source link

Fix some strict type errors #344

Closed RDIL closed 10 months ago

RDIL commented 10 months ago

More work towards making the codebase TS strict mode compliant.

Namely:

This does contain a few API changes:

A LOT of the remaining type issues actually boil down to the routers expecting RequestWithJwt when the express types don't guarantee that, which is very annoying. Blocked by #337