Strapi v4.3 with TypeScript support and Media Library folders is live 🔥

Do you still have plans to enhance TypeScript support? At the current state (v4.6) it still feels quite rudimentary and like an afterthought. Interfaces are missing a lot of properties that are present at runtime, so I have to either create my own interfaces, add as any or add @ts-ignore comments. For instance the ctx is missing type definitions for request, response and state. Also it would be great to have better native support for model schemas in e.g. custom controllers and services.

I have thought about creating issues/PRs for missing type definitions, but this feels like very symptomatic optimizations and also of course I don’t know what you guys are planning internally.

The whole workflow feels like it’s not optimized for TypeScript. If I work on a plugin, I have to run build or develop on order to “push” my changes to the Strapi instance around it.

I hope with Strapi v5 you would consider writing Strapi in TypeScript from the beginning. It would enhance the dev experience immensely.

Is there a place where I could give more examples?