How to type the Context object in Strapi API with TypeScript?

I am having a similar issue, as I see here, it seems that Strapi does not support Typescript properlly yet, but they are improving this support.

At the moment, I believe we need to implement the type ourselves if we want it.