Fix express req user
First upgrade Prettier to support TypeScript 3.7, which enables optional chaining for things like process.kresus.user.id
.
Then extend the express Request
interface to support our preload. And fix new related TS errors.
You don't pay for Framagit, because it is funded by donations to Framasoft. Our not-for-profit needs any support you can afford: support.framasoft.org.
Framagit est gratuit car il est financé par les dons à Framasoft. Notre association a besoin de votre soutien sur soutenir.framasoft.org.
First upgrade Prettier to support TypeScript 3.7, which enables optional chaining for things like process.kresus.user.id
.
Then extend the express Request
interface to support our preload. And fix new related TS errors.