Q3, 2023 — TypeScript support for Core Factories and the Entity Service API
complete
Aurélien Georget
Write more robust and reliable code with TypeScript support for Core Factories and the Entity Service API
The typings continue 🎉 We have included additional TypeScript support, which will enable you to write more robust and reliable code. This will be particularly useful for developers who are working on large-scale projects and require a high degree of accuracy and precision.
Type checking now works for Core Factories and the Entity Service API to allow for easier backend customization.
And we won’t stop here. Going forward, most minor releases will include additional improvements to the TypeScript support. Next up we'll improve the Configurations Plugin API!
Niklas Winkels
complete
đź“– Full Update Here -> https://strapi.io/blog/introducing-strapi-v4-13-with-assignees-for-review-workflows-additional-type-script-support-and-cloud-regions-shared-projects
D
Divakar Rajesh S
typescript compilation is very slow, i'm seeing that in typescript-utils/lib/ compile.js takes solid 20s+ to compile. Is there a way we can speed this up? May be use bun or swc or something else?
J
Jerod
I find myself working around the services architecture altogether because the lack of type support coming off of calls like this:
strapi.plugin("myPlugin").service("myService")
Fabian Gander
Is this related to TS support for Strapi development, or also about the client/application site? I am wondering how well strapi serves types for the application side which consumes the API, (React apps etc.) and not only about the Strapi development client site.
Andrew Miller
Hey Aurelien, what types of improvements are included in this update? Any ETA on its release?
Wondering if I should hold off starting a new typescript plugin until this is merged.
Thanks
Aurélien Georget
in progress